Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
Hejah
Influencer
Posts: 20
Liked: 5 times
Joined: Mar 20, 2018 4:08 pm
Contact:

Create NFS repository via command line

Post by Hejah »

Hello,
is it possible to create a nfs repository via command line?

If I run veeam > Configure and select as Destination "Shared Folder" > NFS a repository is created.

Is it possible to create repository of this type via command line?

Via veeamconfig repository create I'm only able to create a repository for a local folder/mount.
veeamconfig repository create --name test --location /mnt/nfs/test

Code: Select all

veeamconfig repository list
Name              ID                                        Location                    Type   Backup server
test           {00000000-cccc-1111-2222-000000000001}   /mnt/nfs/test                    local               
Repository_1   {00000000-cccc-1111-2222-000000000002}   192.168.0.21:/srv/storage/test   nfs        
PTide
Product Manager
Posts: 6431
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Create NFS repository via command line

Post by PTide »

Hi and welcome to the community!

No, there is no such option yet, however we plan to add it alter.

Thank you
nielsengelen
Product Manager
Posts: 5635
Liked: 1181 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Create NFS repository via command line

Post by nielsengelen »

As an alternative you can mount the NFS share via a script before the backup and unmount it afterwards again if you are fully depended on CLI (& veeamconfig) configuration.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
Hejah
Influencer
Posts: 20
Liked: 5 times
Joined: Mar 20, 2018 4:08 pm
Contact:

Re: Create NFS repository via command line

Post by Hejah »

Thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests