Hello,

I would like to have more informations about the deleting of backups.
I want to delete completly a full backup in order to do several tests about time of backuping by the level of compression for backups.
So the aim of my tests is to do a full backup for one directory (with differents files inside), several times to compare the time of backups taking account the level of compression.

I had several answers (and thank you for your help) and if I delete, the host via the webinterface and the tree of files and the file of configuration of the client (per-pc) on the server
and I configure again the host (completly), it doesn't work as I want. The files aren't saved the second time. It is associated ("fusion" in french) with the old file even if it was deleted.

I read that BackupPC_nightly must run to delete all links (if I understood correctly).
There is another means to delete the links because I don't want to wait the next day to do the next backup.

Is it clear ? ;)

Thanks a lot.

Regards,

Romain



Carl Wilhelm Soderstrom <chrome@real-time.com>
Envoyé par : backuppc-users-bounces@lists.sourceforge.net

24/10/2007 14:05

A
backuppc-users@lists.sourceforge.net
cc
Objet
Re: [BackupPC-users] How to delete a Backup





On 10/24 10:48 , romain.pichard@valeo.com wrote:
> Maybe this question was answered but I don't know how to delete a backup
> corectly.
> I don't try to do this manualy in deleting the folder with the number of
> the backup on my server (in /data/BackupPC/pc/...).*
> Is there a way to do this correctly ?

Holger was nice enough to write about this recently.

Basically, just delete the tree of files you want to remove, using rm -rf.
If you like, you can wait overnight for the BackupPC_nightly job to clean up
the hardlinks in the pool, or if you're impatient you can do what Holger
suggests:

>>>
BackupPC_nightly and BackupPC_link must *not* run concurrently. Thus, you
should *not* run BackupPC_nightly outside the daemon. If you must, then run
it via the daemon, which will postpone it until no more BackupPC_link
processes are running, and likewise postpone further links until nightly has
finished:

       BackupPC_serverMesg BackupPC_nightly run
       BackupPC_serverMesg log Thank you, daemon. I appreciate your effort.
>>>

I suspect this will operate according to the $Conf{BackupPCNightlyPeriod}
setting in config.pl; so you should set "$Conf{BackupPCNightlyPeriod} = 1;"
if you don't want to run it twice.

--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



 
SC2N -S.A  Siège Social : 2, Rue Andre Boulle - 94000 Créteil  - 327 153 722 RCS Créteil

 

"This e-mail message is intended only for the use of the intended recipient(s). The information contained therein may be confidential or privileged, and its disclosure or reproduction is strictly prohibited. If you are not the intended recipient, please return it immediately to its sender at the above address and destroy it."