VK Cloud logo

File storage migration

The NFS/CIFS file storage supports backup, however, backups are not available in a different type of SDN. To migrate data:

  1. Prepare the infrastructure for migration:

    1. Perform network infrastructure migration, if not done already.
    2. Perform balancer migration.
    3. Update public DNS A-records.
  2. Create a new file storage similar to the original one.

  3. Create a VM with the minimum configuration STD2-1-2 (1 vCPU and 2 GB RAM).

  4. Connect the VM to the networks of the original (SDN Neutron) and new (SDN Sprut) storages.

  5. Connect through the created VM to both storages (original and new).

  6. Run the rsync utility on the VM to synchronize files and folders between the original and new storage.

    rsync <source_address> <destination_address>

    Where:

    • <source_address> — IP address of the original storage;
    • <destination_address> — IP address of the new storage.
  7. Make sure that all data has been successfully migrated to the new file storage.

  8. Delete the original file storage if you no longer need it.