directory restore test script

17 views
Skip to first unread message

Alejandro Falcon

unread,
Apr 30, 2020, 8:24:18 AM4/30/20
to bareos-users
Hi, I'm trying to setup a scheduled test script to test a restore of a specific folder. I tried using the directory=/dir/ but this doesn't work recursively. I need to be able to restore everything inside that directory from the latest backup. This is the command I'm trying but only restores the files inside the directory if there's any, otherwise it says"
No database record found for: <dir path>
":

echo "restore client=<client> select directory=<dir path> where=/tmp restoreclient=<restore client> done yes" | bconsole

Is there any way to achieve this?

Thanks,

Reply all
Reply to author
Forward
0 new messages