Compare commits
1 Commits
master
...
backup_sna
| Author | SHA1 | Date | |
|---|---|---|---|
| 6177632719 |
32
content/backup.rst
Normal file
32
content/backup.rst
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
######
|
||||||
|
backup
|
||||||
|
######
|
||||||
|
|
||||||
|
:date: 2025-07-06 00:00
|
||||||
|
:modified: 2025-07-06 00:00
|
||||||
|
:tags: backup
|
||||||
|
:category: documentation
|
||||||
|
:slug: backup
|
||||||
|
:authors: Ms.Leave-A-Mix
|
||||||
|
:summary: Backup and restoration techniques
|
||||||
|
|
||||||
|
-----------
|
||||||
|
Restoration
|
||||||
|
-----------
|
||||||
|
|
||||||
|
On destination machine
|
||||||
|
|
||||||
|
lvcreate -n snapshot-restoration -L size vg
|
||||||
|
|
||||||
|
On source machine
|
||||||
|
|
||||||
|
sudo -u backup-freepincdev borg2 -r /mnt/borg-freepincdev rlist | grep mx2
|
||||||
|
sudo -u backup-freepincdev borg2 -r /mnt/borg-freepincdev export-tar MY-BACKUP -
|
||||||
|
| ssh root@freepinc.dev "tar xO stdin | partclone.restore -s - -o
|
||||||
|
/dev/vg/snapshot-restoration
|
||||||
|
|
||||||
|
|
||||||
|
On destination machine
|
||||||
|
|
||||||
|
e2fsck /dev/vg/snapshot-restoration
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user