Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to include some symlinked dirs? #111

Open
tukoz opened this issue Feb 14, 2015 · 2 comments
Open

How to include some symlinked dirs? #111

tukoz opened this issue Feb 14, 2015 · 2 comments

Comments

@tukoz
Copy link

tukoz commented Feb 14, 2015

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
Copy link

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

@tukoz
Copy link
Author

tukoz commented Feb 16, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants