@@ -20,7 +20,6 @@ have to be sent.
20
20
21
21
snapper is required.
22
22
23
-
24
23
## Options
25
24
26
25
Usage: snap-sync [options]
@@ -35,6 +34,13 @@ snapper is required.
35
34
-u, --UUID <UUID> Specify the UUID of the mounted BTRFS subvolume to back up to. Otherwise will prompt.
36
35
If multiple mount points are found with the same UUID, will prompt user.
37
36
37
+ ## First run
38
+
39
+ When you run ` snap-sync ` you will be prompted to choose a disk to back up to.
40
+ The first time you run ` snap-sync ` for a particular disk (new UUID) you will be
41
+ prompted to choose a backup location on that disk. If the directory you specify
42
+ does not exist, it will be created.
43
+
38
44
## Systemd unit and timer
39
45
40
46
A systemd unit and timer are included. These are instantiated units. You need to
@@ -47,7 +53,9 @@ place. Example:
47
53
The timer included is weekly. Edit both files to your taste.
48
54
49
55
You can exclude a configuration from backup by setting ` SNAP_SYNC_EXCLUDE=yes `
50
- in your snapper configuration file.
56
+ in your snapper configuration file. Additionally you should run snap-sync at
57
+ least once for a new disk without using the service so you can be prompted for
58
+ the backup location.
51
59
52
60
## Example command line usage
53
61
@@ -90,6 +98,8 @@ to be sent.
90
98
91
99
### With UUID specified and no confirmations
92
100
101
+ This is essentially what the systemd service does.
102
+
93
103
# snap-sync --UUID 7360922b-c916-4d9f-a670-67fe0b91143c --noconfirm
94
104
You selected the disk with UUID 7360922b-c916-4d9f-a670-67fe0b91143c.
95
105
The disk is mounted at /run/media/wes/backup.
0 commit comments