Changes

From SME Server
Jump to navigationJump to search
63 bytes added ,  12:52, 2 July 2016
Line 228: Line 228:     
* change '''SERVERNAME''' with the actual name of your backup
 
* change '''SERVERNAME''' with the actual name of your backup
* change '''-n 0''' with the number of the most uptodate fullbackup you want to use.
+
* change '''-n -1''' with the number of the most uptodate fullbackup you want to use. (-1 means relative to the end: last available in this case)
    
  su - backuppc -s /bin/sh
 
  su - backuppc -s /bin/sh
Line 236: Line 236:     
to include and restore everything that is outside of the usual backuped folder in SME:
 
to include and restore everything that is outside of the usual backuped folder in SME:
  /usr/share/BackupPC/bin/BackupPC_tarCreate  -h SERVERNAME -n 0 -s /  / > smeserver.tar
+
  /usr/share/BackupPC/bin/BackupPC_tarCreate  -h SERVERNAME -n -1 -s /  / > smeserver.tar
    
the base backup in the SME Server console would be an equivalent to this :
 
the base backup in the SME Server console would be an equivalent to this :
   /usr/share/BackupPC/bin/BackupPC_tarCreate  -h SERVERNAME -n 0 -s  /    home/e-smith etc/e-smith/templates-custom etc/e-smith/templates-user-custom \
+
   /usr/share/BackupPC/bin/BackupPC_tarCreate  -h SERVERNAME -n -1 -s  /    home/e-smith etc/e-smith/templates-custom etc/e-smith/templates-user-custom \
 
  etc/ssh root etc/sudoers  etc/passwd  etc/shadow etc/group etc/gshadow etc/samba/secrets.tdb  etc/samba/smbpasswd > smeserver.tar
 
  etc/ssh root etc/sudoers  etc/passwd  etc/shadow etc/group etc/gshadow etc/samba/secrets.tdb  etc/samba/smbpasswd > smeserver.tar
  
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu