This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
backup [2021/03/20 15:55] dwheele created |
backup [2022/02/08 18:01] (current) dwheele |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Backup Scheme ====== | ====== Backup Scheme ====== | ||
| + | |||
| + | ^Linux Drive^Partition^Usage^ | ||
| + | |/ | ||
| + | |/ | ||
| + | |/ | ||
| + | |/ | ||
| Backups are done from my main PC (and possibly other places) to ''/ | Backups are done from my main PC (and possibly other places) to ''/ | ||
| Line 7: | Line 13: | ||
| </ | </ | ||
| - | Then we rsync like this: | + | There is also **archive** content at / |
| - | <code bash> | + | Then we rsync like this, available as rsyncToOffsiteMedia in / |
| - | rsync | + | |
| + | <code bash> | ||
| + | #!/bin/bash | ||
| + | rsync -a / | ||
| </ | </ | ||
| + | |||
| + | Note the source directory has a trailing slash. This means to copy the contents of this directory, and to not create a backup directory inside of the source directory. | ||
| + | |||
| + | |||
| + | To disconnect: | ||
| + | |||
| <code bash> | <code bash> | ||
| sudo umount /dev/sdd1 | sudo umount /dev/sdd1 | ||