Before upgrading the SafeSync for Enterprise server, Trend Micro recommends to back up the system first. In the event that something goes wrong during the upgrade process, the administrator can restore the system from backup.
To back up the SafeSync server:
- Do one of the following:
- For Virtual Machine, take a snapshot before upgrading the server.
- For physical or bare-metal installation, use Ubuntu Live CD to boot up the server then use "dd" command to backup the system disk.
- Shutdown the system.
- Attach an extra backup disk to the server. The backup disk should be larger than the system disk.
- Boot up with ubuntu live CD.
- Use the command "fdisk -l" to identify the backup disk device name.
- Format and mount backup disk with the following commands:
/dev/sdb is the backup disk device name in this example.
$ mkfs.ext3 /dev/sdb
$ mount /dev/sdb /mnt - Back up the whole system disk (/dev/sda) to a file (sda.be):
$ dd if=/dev/sda of=/mnt/sda.be
- Boot up the system then start the upgrade process.
To restore the SafeSync server:
- Do one of the following:
- For Virtual machine, revert to the backup snapshot.
- For physical or bare-metal installation, use Ubuntu Live CD to boot up the server then use "dd" command to backup the system disk.
- Shutdown the system.
- Boot up with ubuntu live CD.
- Attach the backup disk and mount it with the command:
$ mount /dev/sdb /mnt
- Restore the system disk using this command:
$ dd if=/mnt/sda.disk of=/dev/sda
- Boot up the system. The original system should be restore.