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
m
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>
+
<pre>
 
root@statler:/mnt# sudo sshfs -o allow_other,defer_permissions root@157.245.133.24:/ /mnt/droplet
 
root@statler:/mnt# sudo sshfs -o allow_other,defer_permissions root@157.245.133.24:/ /mnt/droplet
 
fuse: unknown option `defer_permissions'
 
fuse: unknown option `defer_permissions'
 
root@statler:/mnt# sudo sshfs -o allow_other root@157.245.133.24:/ /mnt/droplet
 
root@statler:/mnt# sudo sshfs -o allow_other root@157.245.133.24:/ /mnt/droplet
</source>
+
</pre>
  
 
...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
+
<pre>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</pre>
  
 
* https://opensource.com/article/18/7/how-use-dd-linux
 
* https://opensource.com/article/18/7/how-use-dd-linux

Revision as of 00:14, 6 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?