Changes

From SME Server
Jump to navigationJump to search
287 bytes added ,  19:16, 22 December 2014
m
Line 249: Line 249:  
*Remove all backups of a client
 
*Remove all backups of a client
 
  rm -rf /var/lib/BackupPC/pc/<client>/
 
  rm -rf /var/lib/BackupPC/pc/<client>/
  /usr/share/BackupPC/bin/BackupPC_nightly 0 255
+
  sudo -u backuppc /usr/share/BackupPC/bin/BackupPC_serverMesg BackupPC_nightly run
    
*Remove One backup of a client
 
*Remove One backup of a client
Line 255: Line 255:  
  ls
 
  ls
 
  rm -fR <backup_number>
 
  rm -fR <backup_number>
  /usr/share/BackupPC/bin/BackupPC_nightly 0 255
+
  sudo -u backuppc /usr/share/BackupPC/bin/BackupPC_serverMesg BackupPC_nightly run
 +
 
 +
{{warning box|
 +
Removing a single backup must be done with extreme care. You can safly remove the last backup for example, but if you remove a backup on which another one is based on, you can screw up your backups
 +
}}
    
After this, you will see space reclaimed and you can check it with df, but you still need to remove statistic line, otherwise you will see it in your web interface. To do that:
 
After this, you will see space reclaimed and you can check it with df, but you still need to remove statistic line, otherwise you will see it in your web interface. To do that:

Navigation menu