Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta CLI
  • Search

Using v-restore-user to restore individual items

Questions regarding the Command Line Interface
CLI
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Using v-restore-user to restore individual items
  • Quote

Post by plutocrat » Fri Aug 16, 2019 5:22 am

The documentation contained in the v-restore-user script alludes to the fact you can restore individual elements, but doesn't give any examples.

Code: Select all

# info: restore user
# options: USER BACKUP [WEB] [DNS] [MAIL] [DB] [CRON] [UDIR] [NOTIFY]
So I just thought I'd give an example here. If you want to restore just the database temp_booking to user temp, and send an email notification then use this:

Code: Select all

v-restore-user  'temp' 'temp.2019-08-16_05-16-47.tar' 'no' 'no' 'no' 'temp_booking' 'no' 'no' 'yes'
Might be good to put an example in the script?
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “CLI”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password