cjk
By:
cjk

How to backup & restore a path?

February 10, 2015 946 views

I haven't used DigitalOcean yet but I am considering it.

Say, I am using one VPS server in DO.

1) What is the recommended way of backuping a path(and its children) and then later restoring it?
2) There seems to be image-level backup feature. If I have one image backup and I want to selective restore a path to my current VPS(not the whole thing since there could be a conflict), what is the recommended way in DO?

1 comment
  • I would recommend using rsync to sync a particular folder with an offsite backup, either on another droplet or a server elsewhere. You could also run rsync on your local computer in order to back up this path locally. This tutorial should be of assistance.

    by Justin Ellingwood
    Rsync is a simple tool for intelligently syncing local and remote directories. In this article we will explore the basic usage of this utility to copy files from directory to directory and from system to system.
1 Answer

This question was answered by @ryanpq:

I would recommend using rsync to sync a particular folder with an offsite backup, either on another droplet or a server elsewhere. You could also run rsync on your local computer in order to back up this path locally. This tutorial should be of assistance.

View the original comment

by Justin Ellingwood
Rsync is a simple tool for intelligently syncing local and remote directories. In this article we will explore the basic usage of this utility to copy files from directory to directory and from system to system.
Have another answer? Share your knowledge.