Every time I try to setup a symbolic link (symlink) I stuggle to get my head around symlink source and target.
I have tried this a few ways and it continues to fail.
Let me explain. BackupPC v4.4.0 stores backups in /var/lib/BackupPC
by default. BackupPC installation instructions suggests using a symlink so future updates do not overwrite the backup directory location (/var/lib/BackupPC
).
I want to store these in /dataR6
directory. (A raid 6 array.)
So, BackupPC stores in /var/lib/BackupPC
that will be linked to store in /dataR6
. Client backups storing in /dataR6
(directory.)
Both directories already exist.
I have read: Create a symbolic link relative to the current directory
And I read this: https://stackoverflow.com/questions/9104337/create-a-symbolic-link-of-directory-in-ubuntu/9104384#9104384
But, I still cannot get the link to connect properly.
So, my "source and target" question is, in the above case, which, is the source and which is the target? I'm thinking "source" = /var/lib/BackupPC
and "target" = /dataR6
? Or am I backwards?
Symlinks is a roundrobin stuggle for me of which is which and is VERY confusing. (Maybe I'm brain dead?)