Page 1 of 1

Using v-restore-user to restore individual items

Posted: Fri Aug 16, 2019 5:22 am
by plutocrat
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?