Changes

From SME Server
Jump to navigationJump to search
165 bytes removed ,  05:33, 5 July 2019
Line 237: Line 237:  
If you have a Letsencrypt certificate on the production server, then you should also include
 
If you have a Letsencrypt certificate on the production server, then you should also include
 
  Include=/etc/dehydrated
 
  Include=/etc/dehydrated
  −
If you have a Directory or file on the production server you do not want to be part of the backup, then you can Exclude it
  −
Exclude=/home/e-smith/files/ibays/xyz
      
Then save your job configuration file.
 
Then save your job configuration file.
Line 979: Line 976:  
* crosscheck your work using the df command
 
* crosscheck your work using the df command
 
  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 =====
Line 1,031: Line 1,015:  
The mount point will be automatically created, if it does not exist. <br>
 
The mount point will be automatically created, if it does not exist. <br>
 
To access the archive directory, you need to mount it manually.
 
To access the archive directory, you need to mount it manually.
 +
 +
==== 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.
    
=== Restore ===
 
=== Restore ===

Navigation menu