conformal / cyphertite

A high-security scalable solution for online backups.
https://www.cyphertite.com/
46 stars 8 forks source link

How to include some symlinked dirs? #111

Open tukoz opened 9 years ago

tukoz commented 9 years ago

Hi, I'm trying to backup an important dir that is symlinked to the dir I backup with cyphertite. Reading the man page:

-H Follow symlinks passsed on the command line.

there's also -h to follow all symlinks but hey! Dropbox's enough already ;)

Here's what I tried

ct -E <exclude> -cHf <md_filename>.ct /path/to/the/dir/to/backup/ /path/to/the/dir/to/backup/symlinked_dir1/

without success so far: symlinked_dir1 is backuped up as, well, a symlink! Does one knows what is the proper way to include up to a few symlinked dirs in a backup?

zman0900 commented 9 years ago

Why not just include the target of that symlink in your backup?

tukoz commented 9 years ago

What would the syntax looks like please? Unless you mean: move the directory from its normal location to the backup dir and symlink it back? Not always feasible.

Also I'd like to grasp Cyphertite's options a bit so I can face differents cases the straightest way.