Remove nextcloud-xyz and realstickman-xyz backups. Add hydra var and etc
This commit is contained in:
parent
11cc2fb24e
commit
fc829e2af9
@ -47,7 +47,6 @@ Does not remove data, just links
|
|||||||
Clean up unreferenced data. "-n" for dry run
|
Clean up unreferenced data. "-n" for dry run
|
||||||
`restic -r b2:(bucket):(path) prune`
|
`restic -r b2:(bucket):(path) prune`
|
||||||
|
|
||||||
|
|
||||||
### arco-pc-backup home
|
### arco-pc-backup home
|
||||||
```bash
|
```bash
|
||||||
restic -r b2:arco-pc-backup:/home/marc init
|
restic -r b2:arco-pc-backup:/home/marc init
|
||||||
@ -76,58 +75,30 @@ restic -r b2:arco-pc-backup:/mnt/harddrive snapshots
|
|||||||
restic -r b2:arco-pc-backup:/mnt/harddrive restore --target "/mnt/storage" (snapshot)
|
restic -r b2:arco-pc-backup:/mnt/harddrive restore --target "/mnt/storage" (snapshot)
|
||||||
```
|
```
|
||||||
|
|
||||||
### hydra-server-backup /etc/nginx
|
### hydra-server-backup var
|
||||||
```bash
|
|
||||||
restic -r b2:hydra-server-backup:/etc/nginx init
|
|
||||||
```
|
```
|
||||||
```bash
|
restic -r b2:hydra-server-backup:var init
|
||||||
restic -r b2:hydra-server-backup:/etc/nginx backup --verbose "/etc/nginx"
|
|
||||||
```
|
```
|
||||||
```bash
|
|
||||||
restic -r b2:hydra-server-backup:/etc/nginx snapshots
|
|
||||||
```
|
```
|
||||||
```bash
|
restic -r b2:hydra-server-backup:var backup --verbose "/var"
|
||||||
restic -r b2:hydra-server-backup:/etc/nginx restore --target "/etc/nginx" <snapshot>
|
```
|
||||||
|
```
|
||||||
|
restic -r b2:hydra-server-backup:var snapshots
|
||||||
|
```
|
||||||
|
```
|
||||||
|
restic -r b2:hydra-server-backup:var restore --target "/var" <snapshot>
|
||||||
```
|
```
|
||||||
|
|
||||||
### realstickman-xyz-backup root
|
### hydra-server-backup etc
|
||||||
```bash
|
|
||||||
restic -r b2:realstickman-xyz-backup:root init
|
|
||||||
```
|
```
|
||||||
```bash
|
restic -r b2:hydra-server-backup:etc init
|
||||||
restic -r b2:realstickman-xyz-backup:root backup --verbose "/root"
|
|
||||||
```
|
|
||||||
```bash
|
|
||||||
restic -r b2:realstickman-xyz-backup:root snapshots
|
|
||||||
```
|
|
||||||
```bash
|
|
||||||
restic -r b2:realstickman-xyz-backup:root restore --target "/root" <snapshot>
|
|
||||||
```
|
|
||||||
|
|
||||||
### realstickman-xyz-backup etc
|
|
||||||
```bash
|
|
||||||
restic -r b2:realstickman-xyz-backup:etc init
|
|
||||||
```
|
|
||||||
```bash
|
|
||||||
restic -r b2:realstickman-xyz-backup:etc backup --verbose "/etc"
|
|
||||||
```
|
|
||||||
```bash
|
|
||||||
restic -r b2:realstickman-xyz-backup:etc snapshots
|
|
||||||
```
|
|
||||||
```bash
|
|
||||||
restic -r b2:realstickman-xyz-backup:etc restore --target "/etc" <snapshot>
|
|
||||||
```
|
|
||||||
|
|
||||||
### nextcloud-realstickman-backup var
|
|
||||||
```
|
|
||||||
restic -r b2:nextcloud-realstickman-backup:var init
|
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
restic -r b2:nextcloud-realstickman-backup:var backup --verbose "/var"
|
restic -r b2:hydra-server-backup:etc backup --verbose "/etc"
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
restic -r b2:nextcloud-realstickman-backup:var snapshots
|
restic -r b2:hydra-server-backup:etc snapshots
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
restic -r b2:nextcloud-realstickman-backup:var restore --target "/var" <snapshot>
|
restic -r b2:hydra-server-backup:etc restore --target "/etc" <snapshot>
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user