[gentoo-user] Auto-backup tool?
Hi! I have a laptop with lots of documents, plus, I am writing lots of documents. When I'm working with these files, I stop after every 2 to 4 hours of work to save the changes, copying the updated files on a external hard drive. I also send them to two e-mail accounts (gmail and yahoo). Is there a tool to make these repetitive tasks automatically? I would like to have something that just copies the updated (and new) files to my external HD, in order to keep both directories' contents in sync (on my laptop: /home/jbackes/documents; on my external HD: /mnt/external/backup/documents/) . And for the activity of packing and mailing recent changed documents, is there a tool that could do this automagically? ___ Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! http://br.mobile.yahoo.com/mailalertas/ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Auto-backup tool?
On Sun, 03 Dec 2006 14:33:52 -0200, Jerônimo Backes wrote: Is there a tool to make these repetitive tasks automatically? I would like to have something that just copies the updated (and new) files to my external HD, in order to keep both directories' contents in sync (on my laptop: /home/jbackes/documents; on my external HD: /mnt/external/backup/documents/) . rdiff-backup. I've been using it for a couple of years and it does just what you need. it also keeps old versions so you can roll back in the event of a mistake. And for the activity of packing and mailing recent changed documents, is there a tool that could do this automagically? You could use find to generate a list of files changed n the last two hours, pass this list to tar - it has an option to accept a list of files to archive on stdin - and then mail this to your backup account. There's also a FUSE module to mount your gmail mail account and use it for file storage, but you won't find it in portage because it breaks Google's TCs http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html -- Neil Bothwick You couldn't get a job as a firing squad target. signature.asc Description: PGP signature
Re: [gentoo-user] Auto-backup tool?
I have a laptop with lots of documents, plus, I am writing lots of documents. When I'm working with these files, I stop after every 2 to 4 hours of work to save the changes, copying the updated files on a external hard drive. http://konserve.sourceforge.net/ and I also send them to two e-mail accounts (gmail and yahoo). rsync come to my mind. Cheers, ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Auto-backup tool?
On Sun, 2006-12-03 at 17:57 +0100, Christoph Eckert wrote: I have a laptop with lots of documents, plus, I am writing lots of documents. When I'm working with these files, I stop after every 2 to 4 hours of work to save the changes, copying the updated files on a external hard drive. http://konserve.sourceforge.net/ and Konserve is great, but it is too overhead to overwrite an entire 2GB file after intervals of 2 hours. I also send them to two e-mail accounts (gmail and yahoo). rsync come to my mind. That's a little complicated for me to play with at this time (no time to read the man page), but I think it can solve the problem. Thanks for your input. ___ O Yahoo! está de cara nova. Venha conferir! http://br.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Auto-backup tool?
That's a little complicated for me to play with at this time (no time to read the man page), but I think it can solve the problem. I feel your pain, but anyway, it looks that you need to write a small shell script which does what you want. If you're using KDE, it's even possible to use DCOP so KMail automatically sends a mail with an attachement. But 2GB? Huh... :) . Cheers, ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Auto-backup tool?
But 2GB? Huh... :) . 2Gb is the entire documents directory. I just want to e-mail the altered ones (in fact, the total attachment size is no greater than 200 Kb) I'll see what Kmail can do. Thanks again. Jerônimo. ___ Yahoo! Acesso Gr�tis - Internet r�pida e gr�tis. Instale o discador agora! http://br.acesso.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Auto-backup tool?
Use a cron job to run it periodically. For email, use a cron job that emails it. On Sunday 03 December 2006 16:18, Jerônimo Backes wrote: rdiff-backup. I've been using it for a couple of years and it does just what you need. it also keeps old versions so you can roll back in the event of a mistake. Man, that's almost what I need. Is there a way to make this script execute automatically after some time interval? And for the activity of packing and mailing recent changed documents, is there a tool that could do this automagically? You could use find to generate a list of files changed n the last two hours, pass this list to tar - it has an option to accept a list of files to archive on stdin - and then mail this to your backup account. Ok, I can make a script doing that. But what can I use to send the file to my e-mail adresses? And what to do to make that script run periodically? Thanks a lot for your help. Jerônimo. ___ O Yahoo! est� de cara nova. Venha conferir! http://br.yahoo.com -- Brett I. Holcomb -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Auto-backup tool?
On Sunday 03 December 2006 16:18, Jerônimo Backes wrote: rdiff-backup. I've been using it for a couple of years and it does just what you need. it also keeps old versions so you can roll back in the event of a mistake. Man, that's almost what I need. Is there a way to make this script execute automatically after some time interval? Just run it from cron. I backup /home and /etc from cron.hourly and /usr etc from cron.daily. You could use find to generate a list of files changed n the last two hours, pass this list to tar - it has an option to accept a list of files to archive on stdin - and then mail this to your backup account. Ok, I can make a script doing that. But what can I use to send the file to my e-mail adresses? And what to do to make that script run periodically? cron again. You could use nail or mutt to mail it, nail looks a suitable choice for a script. -- Neil Bothwick There is absolutely no substitute for a genuine lack of preparation. signature.asc Description: PGP signature