BackupPC-users

Re: [BackupPC-users] what files changed on incremental script

2010-08-10 06:23:07
Subject: Re: [BackupPC-users] what files changed on incremental script
From: Innop <innop.mail AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 10 Aug 2010 12:19:49 +0200
Hi,

I have used the script created by Luis Paulo for create another which list files changed on the last backup of all clients. With a crontab and sendmail you can use that for send a report per day (for example). It might interest some people ...

Thanks Luis.

Innop.

> De : "Luis Paulo" <luis.barbas AT gmail DOT com>
> A : "list backuppc General user discussion,<br>       questions and support" <backuppc-users AT lists.sourceforge DOT net>
> Objet : [BackupPC-users] what files changed on incremental script
>
> I've made a few changes on my 'what files changed on incremental" script.
>
> * First of all, I changed the name. As it will be normally put
> together with the distribution administrative scripts, lower case will
> distinguish it.
>
> * Now 'pool' and 'delete' lines are also listed, besides 'create'. An
> extra initial column with 2 spaces was added.
>
> * I've split uid and gid. An extra new column was added
>
> * Added a --fancy option
>
> * Added a --summary option. I've found that create+pool+same equals
> the nFiles on backups file.
>
> * Added a -v version option
>
> With this post follows the script and a usage text file with examples.
>
> Remember that the output is usually long, and the process will take a
> bit of time and machine. Use less and avoid full backups.
>
> I have called this version 1.0.1beta. I intend to make a 1.0.0 version
> with any suggestions you'll be kind enough to make, and a better
> formatting of the summary option.
>
> I've been running this script on a updated Ubuntu hardy
> 2.6.24-27-server x86_64, with BackupPC 3.0.0. Tried it mostly with
> rsync backups.
>
> I knew just the basic of awk and sed when I've started, and as you may
> know, I'm portuguese.
> So please feel free to correct anything, all comments will be appreciate.
>
> Regards
> Luis

Attachment: Files_changed_from_last backup.sh
Description: Bourne shell script

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [BackupPC-users] what files changed on incremental script, Innop <=