Commit Graph

39 Commits

Author SHA1 Message Date
Thomas Lauterbach
8aa5b230d3
Update dattobd_remove_snapshot
Fix potential double slashes in path
2023-02-21 21:54:14 +01:00
Thomas Lauterbach
d6490a8b91
Fixed missing double quotes 2023-01-16 16:47:05 +01:00
Thomas Lauterbach
4f3ea2c696
Fix path creation when SNAP_MOUNTPOINT is root
With SNAP_MOUNTPOINT "/" paths like the following were created: "//.datto_3d41c58e-6724-4d47-8981-11c766a08a24_$SNAP_ID"
2023-01-16 16:36:06 +01:00
Thomas Lauterbach
99fee21bee
Count up $NUM until an unused number is found 2022-12-11 22:03:04 +01:00
Martin Raiber
c8fe04f46a Add panic when root device is snapshot 2021-12-05 13:11:30 +01:00
Martin Raiber
50b4b89eb7 Lock overlay and era files 2021-01-26 01:16:05 +01:00
Martin
6cc7f118d9 Fix era block size 2020-07-17 15:48:41 +02:00
Martin
03550630eb Create snapshot as read-only 2020-07-17 12:32:37 +02:00
Martin
c1ab6cc718 Revert "Take metadata snap during snapshotting (it rolls over the era as well)"
This reverts commit efe23c07b5.
2020-07-17 12:24:12 +02:00
Martin
efe23c07b5 Take metadata snap during snapshotting (it rolls over the era as well) 2020-07-17 01:26:29 +02:00
Martin
8c0d100474 Actually backup from snapshot 2020-07-17 00:23:49 +02:00
Martin
e00f62e9da Save snapshot device into -dev file instead of origin device 2020-07-16 19:00:31 +02:00
Martin
f4de399a9d Use random name to prevent conflicts 2020-07-14 19:11:16 +02:00
Martin
e16c678358 Suppress output 2020-07-14 19:09:36 +02:00
Martin
72aa7575c2 Change scripts to be executable 2020-07-14 19:06:55 +02:00
Martin
f0d611860f Add new snapshot method to installer 2020-07-14 19:06:35 +02:00
Martin
bb587c107d Add new Linux device mapper based snapshot method 2020-07-14 18:50:20 +02:00
Martin
d035c643cf Fix build issue 2020-02-11 14:11:52 +01:00
Martin
07f4cdbabd Implement image backup with CBT via dattobd for Linux 2020-02-10 23:35:13 +01:00
Martin
3face36a37 Fix common snapshot script
(cherry picked from commit 8d54dc278b)
2018-02-20 19:13:18 +01:00
Martin
7235ad212b Fix linux snapshot creation 2018-01-26 19:01:31 +01:00
Martin
e4592e60f2 Ability to exclude mount points from snapshot script 2018-01-11 19:08:56 +01:00
Martin
d956f548c4 Delete LVM snapshot if it is not mounted 2017-08-04 19:29:55 +02:00
Martin
b92fe71293 Delete LVM snapshot if it is not mounted 2017-08-04 19:10:42 +02:00
Martin
bba5e0f891 Exclude datto and overlay files everywhere 2016-09-26 12:05:58 +02:00
Martin
91c97d6371 Fix syntax errors 2016-09-25 14:37:58 +02:00
Martin
97f81760f7 Fix btrfs snapshots and use btrfs snapshots for btrfs file systems even if LVM/dattobd are configured 2016-09-24 13:55:20 +02:00
Martin
fe6ff0f94d Work-around lsblk --paths not working 2016-04-04 13:05:17 +02:00
Martin
6b87af0eae Show files in use if unmounting fails 2016-03-20 18:10:09 +01:00
Martin
6e8ed3bff2 Setting to create correct snapshots of volumes not mounted locally 2016-02-26 13:37:57 +01:00
Martin
e42478482a Load kernel module before snapshotting 2016-02-17 17:48:50 +01:00
Martin
8928301c59 Cleanup loop device on snapshot destruction 2016-02-15 13:35:39 +01:00
Martin
5fb24ad0f1 Fixed shebang 2016-02-01 19:09:22 +01:00
Martin
6513f4f535 Suppress fd warnings correctly 2016-02-01 17:37:41 +01:00
Martin
e1853cbc8d Fixed LVM snapshot script 2016-02-01 17:18:34 +01:00
Martin
d37eb97dba Fixed shebang 2016-01-22 16:18:11 +01:00
Martin
c029938074 Use Linux device mapper to create writable snapshots 2016-01-22 15:41:36 +01:00
Martin
cdd77c9324 Fixed sparse file chunk hashing and do not set file creation time if it is not available 2016-01-22 01:01:20 +01:00
Martin
7e2a023b00 Include Linux snapshot scripts in client installer 2016-01-21 23:51:36 +01:00