Transfer to new server, first backup then rsync home? Or the other way?

Mattie

Verified User
Joined
Jun 1, 2008
Messages
123
The last time I have moved my VPS is about 10 years ago so I don't really remember how I did it exactly but I am planning it now. I think I did something like this:
- turn off ftp/mail/mysql
- create backup (without home/files as I don't have the space available)
- copy backup to new VPS
- apply backup
- rsync home dirs to new VPS

However it would be a lot less downtime if I could FIRST rsync the home-dirs and then create/apply the backup (so just the settings basically). Does anybody know if that would work?

(I cannot use this procedure https://help.directadmin.com/item.php?id=57 as I don't have enough free space to create a local backup)

Thanks!
 
Great, thanks!

(I don't want to get a temp disk the host is not really helpfull...)
 
You can restore your backups first then rsync home. Then stop the services except mysql and make another backup and restore and rsync home again. Then update dns. Update dns last.
 
Oh and first a couple of days before change the ttl on the dns to something really low like a couple of minutes.
 
Back
Top