configs/arch-config/Dokumente/restic

45 lines
2.2 KiB
Plaintext
Raw Normal View History

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-08-10 21:49:48 +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-08-10 21:49:48 +02:00
restic -r b2:arco-pc-backup:/home/marc restore --target "/home/marc/" <snapshot>
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/
sudo -E 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-08-10 21:49:48 +02:00
restic -r b2:arco-pc-backup:/mnt/harddrive/timeshift/snapshots restore --target "/mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/timeshift/snapshots/" <snapshot>
2020-05-31 13:10:45 +02:00
2020-06-28 23:05:36 +02:00
#arco-pc-backup consoles:
restic -r b2:arco-pc-backup:/mnt/harddrive/Consoles init
restic -r b2:arco-pc-backup:/mnt/harddrive/Consoles backup --verbose "/mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/Consoles"
restic -r b2:arco-pc-backup:/mnt/harddrive/Consoles snapshots
2020-08-10 21:49:48 +02:00
restic -r b2:arco-pc-backup:/mnt/harddrive/Consoles restore --target "/mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/Consoles" <snapshot>
2020-06-28 23:05:36 +02:00
2020-06-22 15:15:46 +02:00
#rpi3-backup
restic -r b2:rpi3-backup:timeshift/snapshots init
sudo chmod -Rv 777 /run/timeshift/backup/timeshift
restic -r b2:rpi3-backup:timeshift/snapshots backup --verbose "/run/timeshift/backup/timeshift/snapshots"
restic -r b2:rpi3-backup:timeshift/snapshots snapshots
2020-08-10 21:49:48 +02:00
restic -r b2:rpi3-backup:timeshift/snapshots restore --target "/run/timeshift/backup/timeshift/snapshots" <snapshot>
2020-06-09 18:13:07 +02:00
2020-07-17 11:24:37 +02:00
#realstickman-xyz-backup root
restic -r b2:realstickman-xyz-backup:root init
restic -r b2:realstickman-xyz-backup:root backup --verbose "/root"
restic -r b2:realstickman-xyz-backup:root snapshots
2020-08-10 21:49:48 +02:00
restic -r b2:realstickman-xyz-backup:root restore --target "/root" <snapshot>
2020-07-17 11:24:37 +02:00
#realstickman-xyz-backup etc
restic -r b2:realstickman-xyz-backup:etc init
restic -r b2:realstickman-xyz-backup:etc backup --verbose "/etc"
2020-08-10 21:49:48 +02:00
restic -r b2:realstickman-xyz-backup:etc snapshots
restic -r b2:realstickman-xyz-backup:etc restore --target "/etc" <snapshot>