VSIDO Community

VSIDO Support => General Support => Topic started by: PackRat on December 14, 2014, 04:01:19 AM

Title: rsync - usage, syntax
Post by: PackRat on December 14, 2014, 04:01:19 AM
greetings -

was looking into using rsync (grsync) to do some backups and have a question about command line syntax -

Can rsync handle multiple source files on the command line? for example -

rsync file1 file2  /media/usbdrive

if that is doable, what is the proper syntax to list the source files? I didn't see anything in the man page or some online sources (like the Arch Wiki) that specifically call that out. Also, i can't select multiple files, directories with grsync; which leads me to believe it's not possible. But I may just be going about it wrong.
Title: Re: rsync - usage, syntax
Post by: VastOne on December 14, 2014, 04:25:57 AM
I think here answers the rsync question (http://ubuntuforums.org/showthread.php?t=1881554&highlight=rsync+include) and here answers the grsync question (http://ubuntuforums.org/showthread.php?t=1893841)

I will confess I am not well and may have misinterpreted your question (nasty nasty nasty flu bug)
Title: Re: rsync - usage, syntax
Post by: Snap on December 14, 2014, 11:37:39 AM
Flu... just be patient. As we say around here, Flu takes seven days with medicines or a week without them. You can only alleviate the symthoms with drugs. They don't cure anything, but you feel a bit better and sleepy taking some.

Back OT, thanks for the links. I need to study them. Would like to give a try grsync too. Maybe I replace LuckyBackup in other systems.
Title: Re: rsync - usage, syntax
Post by: PackRat on December 14, 2014, 02:15:51 PM
Quote from: VastOne on December 14, 2014, 04:25:57 AM
I think here answers the rsync question (http://ubuntuforums.org/showthread.php?t=1881554&highlight=rsync+include) and here answers the grsync question (http://ubuntuforums.org/showthread.php?t=1893841)

I will confess I am not well and may have misinterpreted your question (nasty nasty nasty flu bug)

thanks, something like that is what I'm looking to do.

edit - also found the option so that rsync will follow symbolic links which will be helpful as well.
Title: Re: rsync - usage, syntax
Post by: VastOne on December 14, 2014, 04:15:34 PM
grsync is an awesome tool, it really just puts a gui face on rsync

For ultimate backup and the purest form of disaster recovery, there is nothing that comes close to what fsarchiver does

I spent a career in disaster recovery services and dreamed of having a tool as effective as fsarchiver...

Tis why both grsync and fsarchiver are a part of VSIDO
Title: Re: rsync - usage, syntax
Post by: Snap on December 14, 2014, 11:56:15 PM
Thanks, Will explore them both. I'm not specially happy with the tools I've been using so far.
Title: Re: rsync - usage, syntax
Post by: PackRat on December 15, 2014, 03:38:40 AM
@vastone - just out of curiosity, have you used rsync to create a backup and then pipe the result to fsarchiver.

Way back with RedHat 7, I had a script that would pipe the results of tar to cdrecord to make backup cd's. Actually pretty handy.
Title: Re: rsync - usage, syntax
Post by: VastOne on December 15, 2014, 04:48:58 AM
I have never done that Rat Man, but it should be fairly easy.. or not?

Every search I have looked for using rsync + script + fsarchiver is usually "Before fsarchiver I used rsync"
Title: Re: rsync - usage, syntax
Post by: PackRat on December 16, 2014, 12:04:28 AM
As in they switched from rsync to fsarchiver?

No big deal; this is all a learning exercise so I'll mess with both.
Title: Re: rsync - usage, syntax
Post by: VastOne on December 16, 2014, 12:13:02 AM
^ Yes...

rsync to me is more of a directory / directory file / file tool (among other things) and can be a great backup tool as well

fsarchiver is the ultimate disaster recovery tool