When running the Check Point migrate export command to backup your Check Point device you may come across the following error:
gzip: out.tar.gz: No space left on device
Execution finished with error. See log file <path of log file> for further details.
This happens because the temporary folder $FWDIR/tmp/migrate being used during the backup is stored on the root partition.
To redirect the location for temporary files to an alternate location with more space such as /var/log/<folder_name> type the following commands:
- Create a directory called migrate in /var/log
- mkdir /var/log/migrate
- Remove the current migrate folder if it exists
- cd $FWDIR/tmp
- rm -r migrate
- Create a symlink
- ln -s /var/log/migrate migrate
Now run the upgrade_export or migrate command as usual