Line 598: |
Line 598: |
| df | | df |
| | | |
| + | ===== Copying a AFFA USB hard drive archive to a new disk ===== |
| + | Affa uses copious amounts of hard links to compress and preserve disk space for its backups. If you are in the situation where you want to copy such a disk archive to a new (bigger) disk, you need to ensure that the hard links are copied correctly or the destination copy may became significantly bigger than the total of the source archive. |
| + | |
| + | One way to copy across file systems (i.e. two different USB disks) and preserve the hard links is as follows: |
| + | |
| + | * mount both USB drives but with different mount points. e.g. /media/backup1 & /media/backup2 and then: |
| + | |
| + | mkdir /media/backup2/archive |
| + | cd /media/backup1/archive |
| + | tar cpf - . ! ( cd /media/backup2/archive && tar xpf - ) |
| + | |
| + | where '''archive''' is the name of the AFFA job you want to move to the other disk. |
| | | |
| ===== Setup Affa ===== | | ===== Setup Affa ===== |