Difference between revisions of "DigitalOcean"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
Line 11: Line 11:
 
I got an error with the command they suggested, and modified it to this:
 
I got an error with the command they suggested, and modified it to this:
 
* <code>sudo sshfs -o allow_other root@xxx.xxx.xxx.xxx:/ /mnt/droplet</code>
 
* <code>sudo sshfs -o allow_other root@xxx.xxx.xxx.xxx:/ /mnt/droplet</code>
 +
<source>
 +
root@statler:/mnt# sudo sshfs -o allow_other,defer_permissions root@157.245.133.24:/ /mnt/droplet
 +
fuse: unknown option `defer_permissions'
 +
root@statler:/mnt# sudo sshfs -o allow_other root@157.245.133.24:/ /mnt/droplet
 +
</source>
 +
 
...but then this didn't work:
 
...but then this didn't work:
 
<source lang=bash>dd if=/mnt/droplet of=tootcat2.hypertwins.net-1523357095826-abandoned
 
<source lang=bash>dd if=/mnt/droplet of=tootcat2.hypertwins.net-1523357095826-abandoned
 
dd: error reading '/mnt/droplet': Is a directory</source>
 
dd: error reading '/mnt/droplet': Is a directory</source>
  
*** https://opensource.com/article/18/7/how-use-dd-linux
+
* https://opensource.com/article/18/7/how-use-dd-linux
  
 
'''Restore''': Possibly the "custom images" feature is the way to go?
 
'''Restore''': Possibly the "custom images" feature is the way to go?
 
* https://www.digitalocean.com/docs/images/custom-images/how-to/upload/
 
* https://www.digitalocean.com/docs/images/custom-images/how-to/upload/

Revision as of 23:41, 5 September 2019

This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!

Links

Notes

Backup/Restore Images

Backup:

I got an error with the command they suggested, and modified it to this:

  • sudo sshfs -o allow_other root@xxx.xxx.xxx.xxx:/ /mnt/droplet
root@statler:/mnt# sudo sshfs -o allow_other,defer_permissions root@157.245.133.24:/ /mnt/droplet
fuse: unknown option `defer_permissions'
root@statler:/mnt# sudo sshfs -o allow_other root@157.245.133.24:/ /mnt/droplet

...but then this didn't work:

dd if=/mnt/droplet of=tootcat2.hypertwins.net-1523357095826-abandoned
dd: error reading '/mnt/droplet': Is a directory

Restore: Possibly the "custom images" feature is the way to go?