Running webmin’s fsdump\backup.pl manually

How to kick off a manual webmin backup job without using the webmin UI:
cd to /etc/webmin/fsdump and issue the following (as root):

# for dump in `grep -l 0\.kitesfear *`; do ./backup.pl `basename $dump .dump`; done

Replace the 0\.kitesfear with whatever unique ID string your backup set is using. Mine uses the format level.hostname, hence a level 0 dump from the server kitesfear is 0.kitesfear (the \ before the dot prevents grep from interpreting . as any single character).

Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: