Re: [webmin-l] Have I performed my backups using Virtualmin GUI correctly?

"Jamie Cameron" <[email protected]> Tue, 13 Dec 2022 20:26:45 -0800 (PST)
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
On 13/Dec/2022 06:53 Turritopsis Dohrnii Teo En Ming <[email protected]> wrote ..
> On Tue, 13 Dec 2022 at 05:58, Jamie Cameron <[email protected]> wrote:
> >
> > You could dump the contents of the backup and search for mail files by running
> > something like :
> >
> > tar tvzf /path/to/backup.tar.gz | grep Maildir
> 
> Dear Jamie Cameron,
> 
> I have opened backup files for a few domains using win-rar. I can see
> all the email messages in Maildir directory.
> 
> I have very high confidence that 100,000 emails for 2 major domains
> were backed up.
> 
> If I want to restore on the new server, do I create a /restore
> directory on the new server and upload all the 20 backup files there?

Yes, you should.

> The 20 backup files include:
> 
> *.tar.gz
> *.tar.gz.dom
> *.tar.gz.info
> 
> When I restore in the new server, do I choose "Restore source: Local
> file or directory" and then specify the /restore directory?

Yes, that will work.

> Virtualmin will then automatically restore all the 20 backup files in
> the /restore directory??? There is no need to specify each of the 20
> backup files individually???

No, you'll be able to restore all of them at once.

> As the new server will have new IP address, I need to choose "IPv4
> address for restored servers: Shared, on IP <new IP address>"???

Yes, assuming that all your domains shared the same IP, just choose the
option with the new server's primary IP.
 
> As for the other restore options, can I choose the DEFAULT settings???

Yes, that should work.
 
> My new VPS server is now ready for restore operation as of 13 Dec 2022.
> 
> Thank you very much for your help.
> 
> Regards,
> 
> Mr. Turritopsis Dohrnii Teo En Ming
> Targeted Individual in Singapore
> 
> 
> >
> > On 12/Dec/2022 05:02 Turritopsis Dohrnii Teo En Ming <[email protected]> wrote
> ..
> > > On Thu, 8 Dec 2022 at 03:45, Jamie Cameron <[email protected]> wrote:
> > > >
> > > >
> > > > That does seem like a very fast backup for domains containing 100,000 email
> messages.
> > > >
> > > > Do you domains store emails in the Maildir directory under each users' home
> dir?
> > >
> > > Dear Jamie Cameron,
> > >
> > > Yes, I do realize that the backup is extremely fast for all 6 domains
> > > containing around 100,000 email messages.
> > >
> > > There are 2 major domains, each with around 50,000 email messages.
> > >
> > > Virtualmin is supposed to backup /home directory for each domain.
> > >
> > > How can I find out whether email messages are stored inside /home
> > > directory for each domain?
> > >
> > > I need to ensure / make sure all my 100,000 email messages are fully
> > > and properly backed up.
> > >
> > > Thank you.
> > >
> > > Regards,
> > >
> > > Mr. Turritopsis Dohrnii Teo En Ming
> > > Targeted Individual in Singapore
> > >
> > > >
> > > > On 06/Dec/2022 20:42 Turritopsis Dohrnii Teo En Ming <[email protected]>
> wrote
> > > ..
> > > > > Subject: Have I performed my backups using Virtualmin GUI correctly?
> > > > >
> > > > > Good day from Singapore,
> > > > >
> > > > > I would like to find out if I have performed my backups using
> > > > > Virtualmin GUI correctly. In particular, I would like to find out if
> > > > > my 100,000 email messages spanning several mailboxes have been backed
> > > > > up. This is very important because I am planning to migrate CentOS 7.9
> > > > > to Rocky Linux 9.1, AlmaLinux 9.1 or RHEL 9.1. Please advise. Thank
> > > > > you.
> > > > >
> > > > > DETAILED STEPS
> > > > > ===============
> > > > >
> > > > > Login to Virtualmin.
> > > > >
> > > > > Click Backup and Restore.
> > > > >
> > > > > Click Backup Virtual Servers.
> > > > >
> > > > > Backup Virtual Servers Page
> > > > > ============================
> > > > >
> > > > > Virtual servers
> > > > > ================
> > > > >
> > > > > Servers to save: All virtual servers
> > > > >
> > > > > Click "Include sub-servers of those selected"
> > > > >
> > > > > Limit to servers on plan: Any plan
> > > > >
> > > > > Features and settings
> > > > > ======================
> > > > >
> > > > > Features to backup: Backup all features
> > > > >
> > > > > Virtualmin settings to also backup: Click "Select all"
> > > > >
> > > > > Destination and format
> > > > > =======================
> > > > >
> > > > > Backup destinations: Local file or directory
> > > > > /virtualmin-backup
> > > > >
> > > > > Additional destination options: ignore these options for the moment
> > > > >
> > > > > Backup format: One file per server
> > > > >
> > > > > Action on error: Halt the backup immediately
> > > > >
> > > > > Backup compression format: Default
> > > > >
> > > > > Backup level: Full (all files)
> > > > >
> > > > > Click Backup Now.
> > > > >
> > > > > Backup Progress Output
> > > > > =======================
> > > > >
> > > > > Starting backup of 6 domains to local file /virtualmin-backup ..
> > > > > Creating backup for virtual server government-of-the-multiverse.online
> ..
> > > > > Copying virtual server configuration ..
> > > > > .. done
> > > > > Backing up Cron jobs ..
> > > > > .. none defined.
> > > > > Copying records in DNS domain ..
> > > > > .. done
> > > > > Saving mail aliases ..
> > > > > .. done
> > > > > Saving mail and FTP users ..
> > > > > .. done
> > > > > Backing up mail and FTP user Cron jobs ..
> > > > > .. none to backup
> > > > > Copying Apache virtual host configuration ..
> > > > > .. done
> > > > > Copying Apache log files ..
> > > > > .. done
> > > > > Copying Webalizer configuration files ..
> > > > > .. done
> > > > > Copying SSL Apache virtual host configuration and certificate ..
> > > > > .. done
> > > > > Copying Logrotate configuration ..
> > > > > .. done
> > > > > Dumping MariaDB database government_of_the_multiverse ..
> > > > > .. done
> > > > > Dumping MariaDB database government_of_the_multiverse_roundcube ..
> > > > > .. done
> > > > > Copying Procmail and SpamAssassin configuration files ..
> > > > > .. done
> > > > > Backing up Webmin ACL files ..
> > > > > .. done
> > > > > Backing up AWStats configuration file ..
> > > > > .. done
> > > > > Creating TAR file of home directory ..
> > > > > .. done
> > > > > .. completed in 6 seconds
> > > > >
> > > > > Creating backup for virtual server shaunlohxiaowen.xyz ..
> > > > > Copying virtual server configuration ..
> > > > > .. done
> > > > > Backing up Cron jobs ..
> > > > > .. none defined.
> > > > > Copying records in DNS domain ..
> > > > > .. done
> > > > > Saving mail aliases ..
> > > > > .. done
> > > > > Saving mail and FTP users ..
> > > > > .. done
> > > > > Backing up mail and FTP user Cron jobs ..
> > > > > .. none to backup
> > > > > Copying Apache virtual host configuration ..
> > > > > .. done
> > > > > Copying Apache log files ..
> > > > > .. done
> > > > > Copying Webalizer configuration files ..
> > > > > .. done
> > > > > Copying SSL Apache virtual host configuration and certificate ..
> > > > > .. done
> > > > > Copying Logrotate configuration ..
> > > > > .. done
> > > > > Dumping MariaDB database shaun ..
> > > > > .. done
> > > > > Dumping MariaDB database shaun_roundcube ..
> > > > > .. done
> > > > > Copying Procmail and SpamAssassin configuration files ..
> > > > > .. done
> > > > > Backing up Webmin ACL files ..
> > > > > .. done
> > > > > Backing up AWStats configuration file ..
> > > > > .. done
> > > > > Creating TAR file of home directory ..
> > > > > .. done
> > > > > .. completed in 4 seconds
> > > > >
> > > > > Creating backup for virtual server teo-en-ming-corp.com ..
> > > > > Copying virtual server configuration ..
> > > > > .. done
> > > > > Backing up Cron jobs ..
> > > > > .. none defined.
> > > > > Copying records in DNS domain ..
> > > > > .. done
> > > > > Saving mail aliases ..
> > > > > .. done
> > > > > Saving mail and FTP users ..
> > > > > .. done
> > > > > Backing up mail and FTP user Cron jobs ..
> > > > > .. none to backup
> > > > > Copying Apache virtual host configuration ..
> > > > > .. done
> > > > > Copying Apache log files ..
> > > > > .. done
> > > > > Copying Webalizer configuration files ..
> > > > > .. done
> > > > > Copying SSL Apache virtual host configuration and certificate ..
> > > > > .. done
> > > > > Copying Logrotate configuration ..
> > > > > .. done
> > > > > Dumping MariaDB database ceo ..
> > > > > .. done
> > > > > Dumping MariaDB database ceo_roundcube ..
> > > > > .. done
> > > > > Copying Procmail and SpamAssassin configuration files ..
> > > > > .. done
> > > > > Backing up Webmin ACL files ..
> > > > > .. done
> > > > > Backing up AWStats configuration file ..
> > > > > .. done
> > > > > Creating TAR file of home directory ..
> > > > > .. done
> > > > > .. completed in 59 seconds
> > > > >
> > > > > Creating backup for virtual server teo-en-ming.com ..
> > > > > Copying virtual server configuration ..
> > > > > .. done
> > > > > Backing up Cron jobs ..
> > > > > .. none defined.
> > > > > Copying records in DNS domain ..
> > > > > .. done
> > > > > Saving mail aliases ..
> > > > > .. done
> > > > > Saving mail and FTP users ..
> > > > > .. done
> > > > > Backing up mail and FTP user Cron jobs ..
> > > > > .. none to backup
> > > > > Copying Apache virtual host configuration ..
> > > > > .. done
> > > > > Copying Apache log files ..
> > > > > .. done
> > > > > Copying Webalizer configuration files ..
> > > > > .. done
> > > > > Copying SSL Apache virtual host configuration and certificate ..
> > > > > .. done
> > > > > Copying Logrotate configuration ..
> > > > > .. done
> > > > > Dumping MariaDB database teo_en_ming ..
> > > > > .. done
> > > > > Dumping MariaDB database teo_en_ming_roundcube ..
> > > > > .. done
> > > > > Copying Procmail and SpamAssassin configuration files ..
> > > > > .. done
> > > > > Backing up Webmin ACL files ..
> > > > > .. done
> > > > > Backing up AWStats configuration file ..
> > > > > .. done
> > > > > Creating TAR file of home directory ..
> > > > > .. done
> > > > > .. completed in 1 minutes, 30 seconds
> > > > >
> > > > > Creating backup for virtual server theonlinecitizens.com ..
> > > > > Copying virtual server configuration ..
> > > > > .. done
> > > > > Backing up Cron jobs ..
> > > > > .. none defined.
> > > > > Copying records in DNS domain ..
> > > > > .. done
> > > > > Saving mail aliases ..
> > > > > .. done
> > > > > Saving mail and FTP users ..
> > > > > .. done
> > > > > Backing up mail and FTP user Cron jobs ..
> > > > > .. none to backup
> > > > > Copying Apache virtual host configuration ..
> > > > > .. done
> > > > > Copying Apache log files ..
> > > > > .. done
> > > > > Copying Webalizer configuration files ..
> > > > > .. done
> > > > > Copying SSL Apache virtual host configuration and certificate ..
> > > > > .. done
> > > > > Copying Logrotate configuration ..
> > > > > .. done
> > > > > Dumping MariaDB database theonlinecitizens ..
> > > > > .. done
> > > > > Dumping MariaDB database theonlinecitizens_roundcube ..
> > > > > .. done
> > > > > Copying Procmail and SpamAssassin configuration files ..
> > > > > .. done
> > > > > Backing up Webmin ACL files ..
> > > > > .. done
> > > > > Backing up AWStats configuration file ..
> > > > > .. done
> > > > > Creating TAR file of home directory ..
> > > > > .. done
> > > > > .. completed in 11 seconds
> > > > >
> > > > > Creating backup for virtual server turritopsis-dohrnii-teo-en-ming.com
> ..
> > > > > Copying virtual server configuration ..
> > > > > .. done
> > > > > Backing up Cron jobs ..
> > > > > .. none defined.
> > > > > Copying records in DNS domain ..
> > > > > .. done
> > > > > Saving mail aliases ..
> > > > > .. done
> > > > > Saving mail and FTP users ..
> > > > > .. done
> > > > > Backing up mail and FTP user Cron jobs ..
> > > > > .. none to backup
> > > > > Copying Apache virtual host configuration ..
> > > > > .. done
> > > > > Copying Apache log files ..
> > > > > .. done
> > > > > Copying Webalizer configuration files ..
> > > > > .. done
> > > > > Copying SSL Apache virtual host configuration and certificate ..
> > > > > .. done
> > > > > Copying Logrotate configuration ..
> > > > > .. done
> > > > > Dumping MariaDB database turritopsis_dohrnii_teo_en_ming ..
> > > > > .. done
> > > > > Dumping MariaDB database turritopsis_dohrnii_teo_en_ming_roundcube ..
> > > > > .. done
> > > > > Dumping MariaDB database turritopsis_dohrnii_teo_en_ming_roundcube_2 ..
> > > > > .. done
> > > > > Copying Procmail and SpamAssassin configuration files ..
> > > > > .. done
> > > > > Backing up Webmin ACL files ..
> > > > > .. done
> > > > > Backing up AWStats configuration file ..
> > > > > .. done
> > > > > Creating TAR file of home directory ..
> > > > > .. done
> > > > > .. completed in 10 seconds
> > > > >
> > > > > Saving Virtualmin configuration ..
> > > > > .. done
> > > > > Saving templates and plans ..
> > > > > .. done
> > > > > Saving email templates ..
> > > > > .. done
> > > > > Saving custom fields, links, categories and shells ..
> > > > > .. done
> > > > > Saving custom script installers ..
> > > > > .. done
> > > > > Saving scheduled backups ..
> > > > > .. done
> > > > > Saving FTP directory restrictions ..
> > > > > .. done
> > > > > Saving DKIM settings ..
> > > > > .. done
> > > > > Saving greylisting settings ..
> > > > > .. done
> > > > > Save mail rate limiting configuration ..
> > > > > .. done
> > > > > Saving mail server configuration ..
> > > > > .. done
> > > > > .. done
> > > > > 6 servers backed up successfully, 0 had errors. 8 Virtualmin
> > > > > configuration settings backed up successfully.
> > > > > Backup is complete. Final size was 1.17 GiB.
> > > > >
> > > > > Backup was done on the evening of 6 Dec 2022 Tuesday.
> > > > >
> > > > >
> > > > > Regards,
> > > > >
> > > > > Mr. Turritopsis Dohrnii Teo En Ming
> > > > > Targeted Individual in Singapore
> > > > > Blogs:
> > > > > https://tdtemcerts.blogspot.com
> > > > > https://tdtemcerts.wordpress.com
> > > > >
> > > > >
> > > > > -
> > > > > Forwarded by the Webmin mailing list at [email protected]
> > > > > To remove yourself from this list, go to
> > > > > http://lists.sourceforge.net/lists/listinfo/webadmin-list
> > > >
> > > >
> > > > -
> > > > Forwarded by the Webmin mailing list at [email protected]
> > > > To remove yourself from this list, go to
> > > > http://lists.sourceforge.net/lists/listinfo/webadmin-list
> > >
> > >
> > > -
> > > Forwarded by the Webmin mailing list at [email protected]
> > > To remove yourself from this list, go to
> > > http://lists.sourceforge.net/lists/listinfo/webadmin-list
> >
> >
> > -
> > Forwarded by the Webmin mailing list at [email protected]
> > To remove yourself from this list, go to
> > http://lists.sourceforge.net/lists/listinfo/webadmin-list
> 
> 
> -
> Forwarded by the Webmin mailing list at [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list


-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list