Configure File level backup from command line

Backup agent for Linux servers and workstations on-premises or in the public cloud

Configure File level backup from command line

Veeam Logoby aaron.harris » Tue 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
aaron.harris
Lurker
 
Posts: 1
Liked: never
Joined: Tue May 16, 2017 12:49 pm
Full Name: Aaron Harris

Re: Configure File level backup from command line

Veeam Logoby foggy » Tue May 16, 2017 2:28 pm

Hi Aaron, please refer to this page for the correct syntax. Thanks.
foggy
Veeam Software
 
Posts: 14482
Liked: 1057 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Configure File level backup from command line

Veeam Logoby vmniels » Tue 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 Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1440
Liked: 318 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: Google [Bot] and 2 guests