2020-05-16 11:47:54 +02:00
|
|
|
Nfs mounting arco-pc:
|
|
|
|
sudo mount 192.168.1.113:/mnt/ssd /mnt/nfs/ssd/
|
|
|
|
sudo mount 192.168.1.113:/mnt/hdd /mnt/nfs/hdd/
|
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
###Restic repos:
|
2020-05-16 11:47:54 +02:00
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
##B2 backups
|
|
|
|
|
2020-06-03 18:20:39 +02:00
|
|
|
export B2_ACCOUNT_ID=
|
|
|
|
export B2_ACCOUNT_KEY=
|
|
|
|
|
|
|
|
|
2020-06-01 21:37:19 +02:00
|
|
|
#arco-pc-backup home:
|
2020-05-31 13:10:45 +02:00
|
|
|
restic -r b2:arco-pc-backup:/home/marc init
|
2020-06-01 21:37:19 +02:00
|
|
|
restic -r b2:arco-pc-backup:/home/marc backup --verbose /home/marc/ --exclude-file=/home/marc/Dokumente/home-exclude.txt
|
2020-06-03 18:20:39 +02:00
|
|
|
restic -r b2:arco-pc-backup:/home/marc snapshots
|
2020-06-01 21:37:19 +02:00
|
|
|
|
|
|
|
#arco-pc-backup timeshift:
|
|
|
|
restic -r b2:arco-pc-backup:/mnt/harddrive/timeshift/snapshots init
|
|
|
|
sudo chmod -Rv 777 /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/timeshift/
|
|
|
|
restic -r b2:arco-pc-backup:/mnt/harddrive/timeshift/snapshots backup --verbose "/mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/timeshift/snapshots/"
|
2020-06-03 18:20:39 +02:00
|
|
|
restic -r b2:arco-pc-backup:/mnt/harddrive/timeshift/snapshots snapshots
|
2020-05-31 13:10:45 +02:00
|
|
|
|
2020-06-09 18:13:07 +02:00
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
##Nfs backups
|
|
|
|
|
|
|
|
#raspi (ssd):
|
2020-05-16 11:47:54 +02:00
|
|
|
Through timeshift
|
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
#arco-pc timeshift (ssd):
|
2020-05-16 11:47:54 +02:00
|
|
|
restic init --repo /mnt/nfs/ssd/arco-pcbackup/timeshift/
|
|
|
|
sudo chmod -Rv 777 /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/timeshift/
|
|
|
|
restic -r "/mnt/nfs/ssd/arco-pcbackup/timeshift/" backup --verbose "/mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/timeshift/snapshots/"
|
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
#arco-pc home Bilder (hdd):
|
2020-05-16 11:47:54 +02:00
|
|
|
restic init --repo /mnt/nfs/hdd/arco-pcbackup/home/Bilder/
|
|
|
|
restic -r "/mnt/nfs/hdd/arco-pcbackup/home/Bilder/" backup --verbose "/home/marc/Bilder"
|
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
#arco-pc home Dokumente (ssd):
|
2020-05-16 11:47:54 +02:00
|
|
|
restic init --repo /mnt/nfs/ssd/arco-pcbackup/home/Dokumente/
|
|
|
|
restic -r "/mnt/nfs/ssd/arco-pcbackup/home/Dokumente/" backup --verbose "/home/marc/Dokumente"
|
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
#arco-pc home eFisc (ssd):
|
2020-05-16 11:47:54 +02:00
|
|
|
restic init --repo /mnt/nfs/ssd/arco-pcbackup/home/eFisc/
|
|
|
|
restic -r "/mnt/nfs/ssd/arco-pcbackup/home/eFisc/" backup --verbose "/home/marc/eFisc"
|
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
#arco-pc home Videos (hdd):
|
2020-05-16 11:47:54 +02:00
|
|
|
restic init --repo /mnt/nfs/hdd/arco-pcbackup/home//Videos/
|
2020-06-01 21:37:19 +02:00
|
|
|
restic -r "/mnt/nfs/hdd/arco-pcbackup/home/Videos/" backup --verbose "/home/marc/Videos"
|
2020-05-16 11:47:54 +02:00
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
#arco-pc home Musik (hdd):
|
2020-05-16 11:47:54 +02:00
|
|
|
restic init --repo /mnt/nfs/hdd/arco-pcbackup/home/Musik/
|
|
|
|
restic -r "/mnt/nfs/hdd/arco-pcbackup/home/Musik/" backup --verbose "/home/marc/Musik"
|
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
#arco-pc MediaLibrary/Movies (hdd):
|
2020-05-16 11:47:54 +02:00
|
|
|
restic init --repo /mnt/nfs/hdd/arco-pcbackup/MediaLibrary/Movies/
|
|
|
|
restic -r "/mnt/nfs/hdd/arco-pcbackup/MediaLibrary/Movies/" backup --verbose "/mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Movies"
|
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
#arco-pc MediaLibrary/Shows (hdd):
|
2020-05-16 11:47:54 +02:00
|
|
|
restic init --repo /mnt/nfs/hdd/arco-pcbackup/MediaLibrary/Shows/
|
|
|
|
restic -r "/mnt/nfs/hdd/arco-pcbackup/MediaLibrary/Shows/" backup --verbose "/mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Shows"
|
|
|
|
|
2020-05-31 13:10:45 +02:00
|
|
|
#Oneplus3 backup (hdd):
|
2020-05-16 11:47:54 +02:00
|
|
|
restic init --repo /mnt/nfs/hdd/Oneplus3/
|
|
|
|
restic -r "/mnt/nfs/hdd/Oneplus3/" backup --verbose "/mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/Phones/OnePlus 3/"
|