Skip to content

Instantly share code, notes, and snippets.

@sibsfinx
Last active July 7, 2023 12:54
Show Gist options
  • Save sibsfinx/81cffc76754414c61ed8 to your computer and use it in GitHub Desktop.
Save sibsfinx/81cffc76754414c61ed8 to your computer and use it in GitHub Desktop.
Transfer entire server (digitalocean droplet downgrade)
sudo rsync -aAXvP --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"," /etc/sysconfig/network-scripts/*","/etc/network/interfaces"} username@hostname:/* /
@jorisw
Copy link

jorisw commented Jul 7, 2023

What's the source and what's the destination here? Does this pull or push data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment