Open main menu

Changes

622 bytes added ,  13:15, 7 June 2023
no edit summary
I ran across an interesting article, which I did not try, that uses block-level copying via DD. https://www.secretbatcave.co.uk/software/exporting-digital-ocean-imagesdroplets-to-xenkvmvmware/
The method I did use was to [[rsync ]] the data to my private host. Following the example of https://gist.github.com/amalmurali47/c58ef024683cccd242625995b45b7b72 <syntaxhighlight lang="shell">rsync -a # archive mode (all files, with permissions, etc.) -A # preserve ACLs/permissions (not included with -a) -X # preserve extended attributes (not included with -a) -H # preserve hard links (not included with -a) -v # verbose, mention files --append-verify # if the files differ in modification or other timestamps, it will overwrite the target with the source without scrutinizing those files further --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} my-droplet-host:/ ./targetDir/  </syntaxhighlight>