Re: [BackupPC-users] Strict backup schedule
2010-01-28 00:44:27
I see your point about restoring with the GUI. On the other hand, as Les said about
database dumps, I'm afraid you could not be saving much with BackupPC
If you are going to cron delete backups, I looked to Matthias Meyer delete scipt again. This lines may help
while read CLine
do
BackupNumber=`echo $CLine | awk '{print $1}'`
BackupType=`echo $CLine | awk '{print $2}'`
BackupTime=`stat -c "%y" $TopDir/pc/$client/$BackupNumber | awk '{print $1}'`
echo "BackupNumber $BackupNumber - $BackupType-Backup from $BackupTime"
# Some conditional delete here?
done < $TopDir/pc/$client/backups
[...]
echo "`date +\"%Y-%m-%d %T\"` BackupPC_deleteBackup delete $TopDir/pc/$client/$bNumber" >> $LogDir/LOG
rm -fr $TopDir/pc/$client/$bNumber > /dev/null 2>&1
Good Luck
Luis
On Wed, Jan 27, 2010 at 1:32 PM, Gerald Brandt <gbr AT majentis DOT com> wrote:
----- "Luis Paulo" < luis.barbas AT gmail DOT com> wrote:
> If what you want to is keep a full backup for the last day of every month, > > Why not make a zip dump on those days and store it on a disk? > > >
Although a sound plan, and something that can be automated, it overrides BackupPC's hardlink mechanism and increases storage. Plus, restore becomes a manual process of going to the proper zip file and restoring manually.
If I was the only admin, then restores would be a minor inconvenience. Since I'm not, it becomes troublesome.
Gerald
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|