"Updates"
This commit is contained in:
@@ -16,7 +16,7 @@ borg init -e none /mnt/data/backup/<repo_name>
|
|||||||
borg init -e none /mnt/data/backup/<repo_name>
|
borg init -e none /mnt/data/backup/<repo_name>
|
||||||
|
|
||||||
# distant
|
# distant
|
||||||
borg init -e none ssh://pleb@krabs/mnt/data/backup/<repo_name>
|
borg init -e none ssh://pleb@carlo/mnt/data/backup/<repo_name>
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Encrypted repo
|
#### Encrypted repo
|
||||||
@@ -25,7 +25,7 @@ borg init -e none ssh://pleb@krabs/mnt/data/backup/<repo_name>
|
|||||||
borg init -e repokey /mnt/data/backup/<repo_name>
|
borg init -e repokey /mnt/data/backup/<repo_name>
|
||||||
|
|
||||||
# distant
|
# distant
|
||||||
borg init -e repokey ssh://pleb@krabs/mnt/data/backup/<repo_name>
|
borg init -e repokey ssh://pleb@carlo/mnt/ssd/backup/<repo_name>
|
||||||
```
|
```
|
||||||
> Enter a passphrase to encrypt the folder.
|
> Enter a passphrase to encrypt the folder.
|
||||||
```txt
|
```txt
|
||||||
@@ -45,7 +45,7 @@ cd /path/to/folder
|
|||||||
borg create --progress --stats -C zstd,10 /mnt/data/backup/<repo_name>::20251018 .
|
borg create --progress --stats -C zstd,10 /mnt/data/backup/<repo_name>::20251018 .
|
||||||
|
|
||||||
# distant
|
# distant
|
||||||
borg create --progress --stats -C zstd,10 ssh://pleb@krabs/mnt/data/backup/<repo_name>::20251018 .
|
borg create --progress --stats -C zstd,10 ssh://pleb@carlo/mnt/data/backup/<repo_name>::20251018 .
|
||||||
```
|
```
|
||||||
|
|
||||||
### List a backup :
|
### List a backup :
|
||||||
@@ -54,7 +54,7 @@ borg create --progress --stats -C zstd,10 ssh://pleb@krabs/mnt/data/backup/<repo
|
|||||||
borg list /mnt/data/backup/<repo_name>::20251018
|
borg list /mnt/data/backup/<repo_name>::20251018
|
||||||
|
|
||||||
# distant
|
# distant
|
||||||
borg list ssh://pleb@krabs/mnt/data/backup/<repo_name>::20251018
|
borg list ssh://pleb@carlo/mnt/data/backup/<repo_name>::20251018
|
||||||
```
|
```
|
||||||
|
|
||||||
### Verify the backup folder using the command info:
|
### Verify the backup folder using the command info:
|
||||||
@@ -63,7 +63,7 @@ borg list ssh://pleb@krabs/mnt/data/backup/<repo_name>::20251018
|
|||||||
borg info /mnt/data/backup/<repo_name>::20251018
|
borg info /mnt/data/backup/<repo_name>::20251018
|
||||||
|
|
||||||
# distant
|
# distant
|
||||||
borg info ssh://pleb@krabs/mnt/data/backup/<repo_name>::20251018
|
borg info ssh://pleb@carlo/mnt/data/backup/<repo_name>::20251018
|
||||||
```
|
```
|
||||||
|
|
||||||
### Restore a backup to a folder :
|
### Restore a backup to a folder :
|
||||||
@@ -72,7 +72,7 @@ borg info ssh://pleb@krabs/mnt/data/backup/<repo_name>::20251018
|
|||||||
borg extract --progress /mnt/data/backup/<repo_name>::20251018 /path/to/folder
|
borg extract --progress /mnt/data/backup/<repo_name>::20251018 /path/to/folder
|
||||||
|
|
||||||
# distant
|
# distant
|
||||||
borg extract --progress ssh://pleb@krabs/mnt/data/backup/<repo_name>::20251018 /path/to/folder
|
borg extract --progress ssh://pleb@carlo/mnt/data/backup/<repo_name>::20251018 /path/to/folder
|
||||||
```
|
```
|
||||||
|
|
||||||
### Mount a backup :
|
### Mount a backup :
|
||||||
@@ -83,7 +83,7 @@ mkdir /var/tmp/<folder_name>
|
|||||||
borg mount /mnt/data/backup/<repo_name>::20251018 /var/tmp/<folder_name>
|
borg mount /mnt/data/backup/<repo_name>::20251018 /var/tmp/<folder_name>
|
||||||
|
|
||||||
# distant
|
# distant
|
||||||
borg mount ssh://pleb@krabs/mnt/data/backup/<repo_name>::20251018 /var/tmp/<folder_name>
|
borg mount ssh://pleb@carlo/mnt/data/backup/<repo_name>::20251018 /var/tmp/<folder_name>
|
||||||
|
|
||||||
# unmount
|
# unmount
|
||||||
borg unmount var/tmp/<folder_name>
|
borg unmount var/tmp/<folder_name>
|
||||||
@@ -95,7 +95,7 @@ borg unmount var/tmp/<folder_name>
|
|||||||
borg delete /mnt/data/backup/<repo_name>::20251018
|
borg delete /mnt/data/backup/<repo_name>::20251018
|
||||||
|
|
||||||
# distant
|
# distant
|
||||||
borg delete ssh://pleb@krabs/mnt/data/backup/<repo_name>::20251018
|
borg delete ssh://pleb@carlo/mnt/data/backup/<repo_name>::20251018
|
||||||
```
|
```
|
||||||
|
|
||||||
### Freeup space
|
### Freeup space
|
||||||
@@ -105,7 +105,7 @@ borg delete ssh://pleb@krabs/mnt/data/backup/<repo_name>::20251018
|
|||||||
borg compact /mnt/data/backup
|
borg compact /mnt/data/backup
|
||||||
|
|
||||||
# distant
|
# distant
|
||||||
borg compact ssh://pleb@krabs/mnt/data/backup
|
borg compact ssh://pleb@carlo/mnt/data/backup
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Prune and keep lastest 2 backups
|
#### Prune and keep lastest 2 backups
|
||||||
@@ -114,5 +114,5 @@ borg compact ssh://pleb@krabs/mnt/data/backup
|
|||||||
borg prune --keep-last 2 /mnt/data/backup
|
borg prune --keep-last 2 /mnt/data/backup
|
||||||
|
|
||||||
# distant
|
# distant
|
||||||
borg prune --keep-last 2 ssh://pleb@krabs/mnt/data/backup
|
borg prune --keep-last 2 ssh://pleb@carlo/mnt/data/backup
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user