Knowledgebase

Transfer content between Webmin + Virtualmin panel

1.Transfer content via Webmin panel + Virtualmin:

1.1. Creating a backup of the contents

 

1.2. Restore a backup of content

 

2. Transfer content from the console.

2.1. Creating a backup of the content.

FTP_USER = user

 

FTP_PASS = pass
FTP_SERV = 111 111 111 111
 
if ["` uname` "==" FreeBSD "]; then
   WEBMIN_CONFIG = / usr / local / etc / webmin
   VIRTMINPATH = / usr / local / lib / webmin / virtual-server
elif ["` uname` "==" Linux "]; then
   VIRTMINPATH = / usr / libexec / webmin / virtual-server
fi
 
$ VIRTMINPATH / backup-domain.pl --dest ftp: // $ FTP_USER: $ FTP_PASS @ $ FTP_SERV / backups / --all-domains --all-features --except-feature logs \
--virtualmin email --virtualmin scheds --virtualmin templates --separate --newformat --ignore-errors --onebyone
 

2.2. Restoring a backup of the content.

 

BACKUPDIR = / home / user / backups /
 
if ["` uname` "==" FreeBSD "]; then
   WEBMIN_CONFIG = / usr / local / etc / webmin
   VIRTMINPATH = / usr / local / lib / webmin / virtual-server
elif ["` uname` "==" Linux "]; then
   VIRTMINPATH = / usr / libexec / webmin / virtual-server
fi
 
$ VIRTMINPATH / restore-domain.pl --source $ BACKUPDIR --all-domains --all-features

Was this answer helpful?

 Print this Article

Also Read

Settings backups to FTP-server

In Virtualmin choose + Visualize / Restore => Scheduled backup and fill in the following...

How to add cron?

Add cron can be made as follows: Insert Webmin => System -> Scheduled Cron Jobs ->...

Adding a new domain in Webmin + Virtualmin

For any of your domains, create the registry subsidiary NS (NS child). Suppose that for...

How to create a new E-mail address?

To create an E-mail address in the panel Webmin need to do the following steps:- Pick up the left...

Setting the DNS wildcards

Click Webmin => Server => BIND DNS Server.   In the window looking for a little...