Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy a Disk Over SSH Proposed Changes #3430

Open
dinosore opened this issue Jun 29, 2020 · 0 comments
Open

Copy a Disk Over SSH Proposed Changes #3430

dinosore opened this issue Jun 29, 2020 · 0 comments

Comments

@dinosore
Copy link

Link: https://linode.com/docs/platform/disk-images/copying-a-disk-image-over-ssh/

Issue

The following note under heading "Restore from a Backup" is misleading.


 Note

The size of the disk(s) created by the restore process will only be slightly larger than the total size of the files restored. This means that the disk(s) created will be ‘full’.

Some applications, like databases, need some amount of free unused space inside the disk in order to run. As a result, you may want to increase your disk(s) size after the restore process is completed.

I had a nanode with 1 ext4 filesystem on the full 25GB. As I was to run dd over ssh from a home server, how
convenient, I thought, not to have to shrink the volume to reduce network transfer.

In fact the restore filled the full 25G. I transferred the lot as I had a fast enough connection and I couldn't face the arithmetic required to do this without a gui.

##suggested fixes

  1. Correct the note to reflect the current reality.

  2. Provide a guide to shrinking the filesystem and the disk prior to transfer.

Alternatively, provide a restore option to restore a disk containing just the minimum required to contain the files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant