copy new backup file from different locations
i have five server creating different format files for backup on daily basis. i keep 1 month archive in the folder and delete all the old files prior to 1 month. and i have to do it manually. i want this to be automated. i have created a script which is working fine but i need backup softwares like bacula or backuppc do this for me. can i do this, because i dont wana backup i actually wont to copy and bring all the data to centralized network folder and it should ignore all the old file and only select new file from the backup list. please help Thanks, Yousuf
Re: copy new backup file from different locations
On Tue, Jul 08, 2014 at 04:00:30PM +0500, Muhammad Yousuf Khan wrote: i have five server creating different format files for backup on daily basis. i keep 1 month archive in the folder and delete all the old files prior to 1 month. and i have to do it manually. i want this to be automated. $ find /path/to/backups -mtime +28 -delete will find files last modified more than 28 days ago and delete them. i have created a script which is working fine but i need backup softwares like bacula or backuppc do this for me. can i do this, because i I don't know about bacula, but for backupc, look at the $Conf{DumpPreUserCmd} setting[1]. It should be trivial to adapt the example to SSH into your client and run the above command before backup begins. dont wana backup i actually wont to copy and bring all the data to centralized network folder and it should ignore all the old file and only select new file from the backup list. please help Thanks, Yousuf [1]: http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_dumppreusercmd_ signature.asc Description: Digital signature
Re: copy new backup file from different locations
On Tue, 8 Jul 2014 16:00:30 +0500 Muhammad Yousuf Khan sir...@gmail.com wrote: i have five server creating different format files for backup on daily basis. i keep 1 month archive in the folder and delete all the old files prior to 1 month. and i have to do it manually. i want this to be automated. i have created a script which is working fine but i need backup softwares like bacula or backuppc do this for me. can i do this, because i dont wana backup i actually wont to copy and bring all the data to centralized network folder and it should ignore all the old file and only select new file from the backup list. please help Thanks, Yousuf Hi Yousuf, Can't you just run your existing rsync backup from a cron job? That would probably do exactly what you need. Once a day your cron could also fire off a job that would use find to find everything more than 30 days old, and delete them. Could I please ask a favor of you? I read over 500 non-spam emails a day, so I need to do it fast, and rely on traditional capitalization and punctuation for fast reading. Could I please ask you to capitalize i, as well as the first letter of every sentence? When reading fast, it really does make a difference. Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140708160825.1bd7e...@mydesq2.domain.cxm
Re: copy new backup file from different locations
On Tue, 8 Jul 2014 16:00:30 +0500 Muhammad Yousuf Khan sir...@gmail.com wrote: i have five server creating different format files for backup on daily basis. i keep 1 month archive in the folder and delete all the old files prior to 1 month. and i have to do it manually. i want this to be automated. i have created a script which is working fine but i need backup softwares like bacula or backuppc do this for me. can i do this, because i dont wana backup i actually wont to copy and bring all the data to centralized network folder and it should ignore all the old file and only select new file from the backup list. please help Use bacukppc, it'll do all of that and more (unattended backups, integrated http svr usable by users (or not), hardlinking unmodified files (dramatically reducing the size of all backups), auto management of backups (no need to restore a full one, just restore the file/whole day you want), backups compression during night, etc). It is easy to configure (you might have to change the disks formatting options (more inodes), though), and _very_ easy to use. The kind of software you totally forget :) -- Sebim he insulted my mother, I spitted in his double-cheese skarioka YOU'RE INSANE!! Sebim what would you do is someone treated your mother bitch? skarioka it already happened skarioka I stuck a fork in his hand skarioka and then I got yeld at by my mother because, well, he was still my brother signature.asc Description: PGP signature
Re: copy new backup file from different locations
Thanks Steve, I will take care. On Wed, Jul 9, 2014 at 1:08 AM, Steve Litt sl...@troubleshooters.com wrote: On Tue, 8 Jul 2014 16:00:30 +0500 Muhammad Yousuf Khan sir...@gmail.com wrote: i have five server creating different format files for backup on daily basis. i keep 1 month archive in the folder and delete all the old files prior to 1 month. and i have to do it manually. i want this to be automated. i have created a script which is working fine but i need backup softwares like bacula or backuppc do this for me. can i do this, because i dont wana backup i actually wont to copy and bring all the data to centralized network folder and it should ignore all the old file and only select new file from the backup list. please help Thanks, Yousuf Hi Yousuf, Can't you just run your existing rsync backup from a cron job? That would probably do exactly what you need. Once a day your cron could also fire off a job that would use find to find everything more than 30 days old, and delete them. Could I please ask a favor of you? I read over 500 non-spam emails a day, so I need to do it fast, and rely on traditional capitalization and punctuation for fast reading. Could I please ask you to capitalize i, as well as the first letter of every sentence? When reading fast, it really does make a difference. Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140708160825.1bd7e...@mydesq2.domain.cxm
Re: copy new backup file from different locations
Thanks i found the book too. On Wed, Jul 9, 2014 at 1:31 AM, B lazyvi...@gmx.com wrote: On Tue, 8 Jul 2014 16:00:30 +0500 Muhammad Yousuf Khan sir...@gmail.com wrote: i have five server creating different format files for backup on daily basis. i keep 1 month archive in the folder and delete all the old files prior to 1 month. and i have to do it manually. i want this to be automated. i have created a script which is working fine but i need backup softwares like bacula or backuppc do this for me. can i do this, because i dont wana backup i actually wont to copy and bring all the data to centralized network folder and it should ignore all the old file and only select new file from the backup list. please help Use bacukppc, it'll do all of that and more (unattended backups, integrated http svr usable by users (or not), hardlinking unmodified files (dramatically reducing the size of all backups), auto management of backups (no need to restore a full one, just restore the file/whole day you want), backups compression during night, etc). It is easy to configure (you might have to change the disks formatting options (more inodes), though), and _very_ easy to use. The kind of software you totally forget :) -- Sebim he insulted my mother, I spitted in his double-cheese skarioka YOU'RE INSANE!! Sebim what would you do is someone treated your mother bitch? skarioka it already happened skarioka I stuck a fork in his hand skarioka and then I got yeld at by my mother because, well, he was still my brother