Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-17 Thread Frank J . Gómez
Tyler makes some good points. Anyway, tar is working fine for me with the escaping syntax provided by John Rouillard: exec /bin/tar -c "$@". While some have argued that tar is better for localhost backups and others have argued that rsync is better for localhost backups, I'm guessing the differen

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-17 Thread Tyler J. Wagner
You could do this, and many other things to back up your BackupPC server differently from your other hosts. The best reason not to is the law of diminishing returns. My BackupPC server uses SSH+rsync directly as root, and archives everything from / down, except for virtual filesystems and /var/lib

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-17 Thread Pedro M. S. Oliveira
Hi, I'm a bit late on this conversation, but why not use rsync instead of tar on the local machine? I'm not talking about rsync over ssh to localhost but plain old rsync. I can see some advantages (on speed, diskspace, and cputime). Here's how i did it: 1 - copy your rsync executable file to you

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-16 Thread Dale King
On Sun, Nov 14, 2010 at 09:00:10AM -0500, Jeffrey J. Kosowsky wrote: > If you are on the same machine, you can do directly without ssh > by using sudo (and you can protect a little more by setting up sodoers > properly). Then there is no compression for the local machine... > > $Conf{RsyncClientCm

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-15 Thread Carl Wilhelm Soderstrom
On 11/14 09:00 , Jeffrey J. Kosowsky wrote: > Frank J. Gómez wrote at about 11:12:18 -0500 on Friday, November 12, 2010: > > It just seemed silly to me to encrypt data that wasn't ever leaving the > > machine... For backups from the local machine, I just use tar. The CPU requirements are much lo

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-14 Thread Jeffrey J. Kosowsky
Frank J. Gómez wrote at about 11:12:18 -0500 on Friday, November 12, 2010: > It just seemed silly to me to encrypt data that wasn't ever leaving the > machine... If you are on the same machine, you can do directly without ssh by using sudo (and you can protect a little more by setting up sodoers

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-12 Thread Frank J . Gómez
It just seemed silly to me to encrypt data that wasn't ever leaving the machine... On Fri, Nov 12, 2010 at 11:04 AM, John Rouillard < rouilj-backu...@renesys.com> wrote: > On Fri, Nov 12, 2010 at 08:11:32AM +, Tyler J. Wagner wrote: > > If you've already got SSH and rsync installed, you'll al

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-12 Thread John Rouillard
On Fri, Nov 12, 2010 at 08:11:32AM +, Tyler J. Wagner wrote: > If you've already got SSH and rsync installed, you'll always get better > results with rsync than with tar. That's not always true. On large files with lots of changes rsync can bog down and you will get backups that take less time

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-12 Thread Tyler J. Wagner
If you've already got SSH and rsync installed, you'll always get better results with rsync than with tar. Regards, Tyler On Thu, 2010-11-11 at 17:57 -0500, Frank J. Gómez wrote: > Tar just seemed simpler. > > On Thu, Nov 11, 2010 at 4:59 PM, Carl Wilhelm Soderstrom > wrote: > On 11/11 0

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-11 Thread Frank J . Gómez
Tar just seemed simpler. On Thu, Nov 11, 2010 at 4:59 PM, Carl Wilhelm Soderstrom < chr...@real-time.com> wrote: > On 11/11 02:43 , Frank J. Gómez wrote: > > Paranoid person that I am, I followed the instructions here ( > > http://backuppc.sourceforge.net/faq/localhost.html) to run tar in a way >

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-11 Thread Frank J . Gómez
Hm. You know, I thought I'd tried that. Maybe I left out the quotes. That did the trick. Thanks! On Thu, Nov 11, 2010 at 2:58 PM, John Rouillard wrote: > On Thu, Nov 11, 2010 at 02:43:12PM -0500, Frank J. Gómez wrote: > > Paranoid person that I am, I followed the instructions here ( > > http

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-11 Thread Carl Wilhelm Soderstrom
On 11/11 02:43 , Frank J. Gómez wrote: > Paranoid person that I am, I followed the instructions here ( > http://backuppc.sourceforge.net/faq/localhost.html) to run tar in a way that > would not allow the backuppc user to become root. Is there a reason you're using tar rather than rsync? I run rsyn

Re: [BackupPC-users] tar on localhost (and shell escaping)

2010-11-11 Thread John Rouillard
On Thu, Nov 11, 2010 at 02:43:12PM -0500, Frank J. Gómez wrote: > Paranoid person that I am, I followed the instructions here ( > http://backuppc.sourceforge.net/faq/localhost.html) to run tar in a way that > would not allow the backuppc user to become root. > > I tried wrapping tar up using the s

[BackupPC-users] tar on localhost (and shell escaping)

2010-11-11 Thread Frank J . Gómez
Paranoid person that I am, I followed the instructions here ( http://backuppc.sourceforge.net/faq/localhost.html) to run tar in a way that would not allow the backuppc user to become root. I tried wrapping tar up using the script in the documentation: #!/bin/sh -f exec /bin/tar -c $* And that wor