Migration : Set destination partition

cacabrera

Registered
PartnerNOC
Aug 13, 2018
4
1
3
Utah
cPanel Access Level
Website Owner
I'm trying to migrate an account using pkgacct and restorepkg scripts. Is there a way to set the destination partition name before migrating? for example: my account is in /home1 and I would like to restore it in /home2 in the new server. Is there a config file where you can set the "homedir" before packing up the account?

Thanks