On the user review page, @hawktroy wrote:
> [...] *It has extended features and allows quite some customization. Batch mode allows custom automation from command line (without missing features), which is very helpful for me.*
I'd like to know how to run a batch job from cmd line in the terminal. I already set up my batchjob with filters and such from the gui and saved the corresponding batchjob config file as an ffs_batch file.
I think quite a few people in the Lx community at large would benefit from knowing that.
Thanks.
[Ubuntu] Running a batch-job from cmd-line
- Posts: 5
- Joined: 28 May 2013
- Posts: 73
- Joined: 13 Nov 2003
does Help / Command Line Usage not answer this?
Item !. is Run a FFS batch job
Item !. is Run a FFS batch job
- Posts: 5
- Joined: 28 May 2013
Environment:
Ubuntu Desktop 14.04.2 LTS on x86_64 with linux kernel 3.16
FFS 7.1
===================================================
Thanks @Wm:
Yes the help section does offer pointers and I did try various things, but I run into difficulties... I have configured a backup job with filters and rules from the GUI and saved the batch job as *bu-1.ffs_batch* When I ran it as:
$ xdg-open /full/path/to/bu-1.ffs_batch
or equivalently
$ FreeFileSync /full/path/to/bu-1.ffs_batch
It complains that it does not have access privilege to some of the directories and files I try to backup. Fine, so I tried :
$ sudo /usr/bin/FreeFileSync /full/path/to/bu-1.ffs_batch
[sudo] password:
(FreeFileSync:14013): IBUS-WARNING **: The owner of /home/user/.config
/ibus/bus is not root!
I can live with the warning above by suppressing it.
The problem is running FFS from root (i..e with root's crontab as a scheduled job), makes all backed-up objects go through a change of ownership. All backed-up files become user "root" and group "root". *rwx* privileges are also changed. I don't understand why. Does FFS not recognize *rwx* privileges and ownership on *nix platforms ?
If so it is equivalent to breaking the very privilege based HFS under *nix, only preserving file content.
Can someone enlighten me on this ?
Ubuntu Desktop 14.04.2 LTS on x86_64 with linux kernel 3.16
FFS 7.1
===================================================
Thanks @Wm:
Yes the help section does offer pointers and I did try various things, but I run into difficulties... I have configured a backup job with filters and rules from the GUI and saved the batch job as *bu-1.ffs_batch* When I ran it as:
$ xdg-open /full/path/to/bu-1.ffs_batch
or equivalently
$ FreeFileSync /full/path/to/bu-1.ffs_batch
It complains that it does not have access privilege to some of the directories and files I try to backup. Fine, so I tried :
$ sudo /usr/bin/FreeFileSync /full/path/to/bu-1.ffs_batch
[sudo] password:
(FreeFileSync:14013): IBUS-WARNING **: The owner of /home/user/.config
/ibus/bus is not root!
I can live with the warning above by suppressing it.
The problem is running FFS from root (i..e with root's crontab as a scheduled job), makes all backed-up objects go through a change of ownership. All backed-up files become user "root" and group "root". *rwx* privileges are also changed. I don't understand why. Does FFS not recognize *rwx* privileges and ownership on *nix platforms ?
If so it is equivalent to breaking the very privilege based HFS under *nix, only preserving file content.
Can someone enlighten me on this ?
- Posts: 5
- Joined: 28 May 2013
Ten days and zero answer later, I decided to abandon (at least for the time being) FreeFileSync.
As far as I could see, this code does not propagate existing ownership (user:group) and rwx access privileges on *nix files. It also does not lend itself nicely to automated backup jobs on Linux platforms.
So to the linux user who cannot afford to do everything repetitive by hand, move on. There are other packages. rsync is only one of them.
As far as I could see, this code does not propagate existing ownership (user:group) and rwx access privileges on *nix files. It also does not lend itself nicely to automated backup jobs on Linux platforms.
So to the linux user who cannot afford to do everything repetitive by hand, move on. There are other packages. rsync is only one of them.
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
menu -> tools -> options: "copy file acces permissions" is what you're looking for.
- Posts: 5
- Joined: 28 May 2013
Thank you Zenjiu. But that was already set as you suggested. So maybe it is som'ing else...
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
You'll probably want to disable it.Thank you Zenjiu. But that was already set as you suggested. So maybe it is som'ing else...cbhihe