Migrate backup folder separate drive both machines

shortfork

Well-Known Member
Sep 4, 2006
65
0
156
I just accomplished a migration from one cPanel box to another.. But the backup folder did not move from the old to the new. Both boxes are set up with separate drives for this purpose..

I'd like to move the backup folder over and cotinue with incremental backups as I had them set up on the old box.. did not see specific mention of this process in archives, forgive me if my search skills are not up to par.. Migration can take a lot out of a guy!

TIA!
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

You can migrate your backup folder through following command and setup the incremental backup at same location through WHM


rsync -vrplogDtH /backup/* root@NEWSERVERIP:/backup/
 

shortfork

Well-Known Member
Sep 4, 2006
65
0
156
Hello,

You can migrate your backup folder through following command and setup the incremental backup at same location through WHM
Wow, thanks, doing it as we speak... I'd already attempted to rsync it over, the files came but cPanel was not seeing them, pretty sure I did it wrong..

Adding an addition to how I had to do it in order to help anyone else who needs this info.. I learned something, I run ssh on a different port, so I had to figure out how to get that to work..

rsync -vrplogDtH -e "ssh -p nonstandard_port_nmuber_here" /backup/* root@newserverip:/backup/
Currently running, previous attempt deleted, hoping the new effort with your help will do the trick.

Thanks!
Wayne
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

If you are migrating to cPanel version 11.38, you can ensure your old incremental backups are still enabled by ensuring "Incremental Backup" is enabled via:

"WHM Home » Backup » Legacy Backup Configuration"

Thank you.