Backup agent for Linux servers and workstations on-premises or in the public cloud
Post Reply
aaron.harris
Lurker
Posts: 1
Liked: never
Joined: May 16, 2017 12:49 pm
Full Name: Aaron Harris
Contact:

Configure File level backup from command line

Post by aaron.harris » May 16, 2017 12:58 pm

Trying to use the veeamconfig utility to configure our Linux nodes backup for individual folders, however I cannot seem to set a directory inclusion through the command line script it only seems to work when using the UI.

Is this expected or should it be possible to configure a job to backup individual folders through the command line utility?

It looks like the command line utility is expecting the --objects parameter to be a list of devices rather than folders, the error I get is "Error: Unable to backup following devices: /tmp/test-folder"

Thanks

foggy
Veeam Software
Posts: 16691
Liked: 1343 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Configure File level backup from command line

Post by foggy » May 16, 2017 2:28 pm

Hi Aaron, please refer to this page for the correct syntax. Thanks.

vmniels
Veeam Software
Posts: 1969
Liked: 430 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Configure File level backup from command line

Post by vmniels » May 16, 2017 3:28 pm

How are you trying to make the job? The following for example works:

Code: Select all

 veeamconfig job create filelevel --name filelevel --maxpoints 7 --includedirs '/home,/root' --reponame backuprepo
VCP-DCV
Veeam Certified Architect (VMCA)
http://foonet.be

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests