docker-crashplan-pro icon indicating copy to clipboard operation
docker-crashplan-pro copied to clipboard

How do you add an external harddrive to the containers backup

Open paradoxgrowth opened this issue 4 years ago • 8 comments

Hello Everyone,

I am using your Crashplan container to back up my files and I would like to include an external hard drive to my backup. Unfortuanly I can't seem to figure out how to add it to the shared folders list. I tried the following command:

-v /share/external/DEV3301:ro \

But I get the error below. What am I doing wrong? docker: Error response from daemon: invalid volume specification: '/share/external/DEV3301:ro'.

paradoxgrowth avatar Sep 21 '21 12:09 paradoxgrowth

You need to specify the container path in the parameter. For example:

-v /share/external/DEV3301:/DEV3301:ro

maps /share/external/DEV3301 from the host to /DEV3301 inside the container.

jlesage avatar Sep 22 '21 00:09 jlesage

That did the trick, thanks so much for your help!! By the way, given you can remap store to the container in any way you like will come in handy with CPs new deletion policy. To make an archive simply remap! It will be marked as missing and never be deleted.

On Sep 21, 2021, at 8:02 PM, Jocelyn Le Sage @.***> wrote:

 You need to specify the container path in the parameter. For example:

-v /share/external/DEV3301:/DEV3301:ro maps /share/external/DEV3301 from the host to /DEV3301 inside the container.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

paradoxgrowth avatar Sep 22 '21 13:09 paradoxgrowth

Just be aware that I have seen that external device path change occasionally, especially after some firmware updates.

vbc4ejyg avatar Sep 22 '21 16:09 vbc4ejyg

Oh, that may not be good, if it re-maps to an old location (i.e. a missing drive), it will mark missing items for deletion in 90 days. Is it possible that might happen?

On Sep 22, 2021, at 12:57 PM, madfusker @.***> wrote:

Just be aware that I have seen that external device path change occasionally, especially after some firmware updates.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-crashplan-pro/issues/326#issuecomment-925110676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4HKNP3RKQC55F4HIARW6LUDIDJDANCNFSM5EOLFDDQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

paradoxgrowth avatar Sep 22 '21 19:09 paradoxgrowth

Yes, that is possible if you reconnect the drive, but what you will see is the mapped location will be empty. It's always good to watch your crashplan GUI page and make sure all Backup Sets complete successfully.

Bottom paragraph: https://helpdesk.code42.com/hc/en-us/articles/4408123149463-Deleted-files-FAQ?mkt_tok=NzYwLU9NVS00NzgAAAF_kz_JxuqdT6yu2Y17AXFbnzJp4-OINK9tpCGOqA1PG6vH_DFxy9FpGK7wvYDBUIoPI4HTksQtbqbhuhA3fVg2eqn3_shko3ynnV6nHBsAOuGEZw

vbc4ejyg avatar Sep 24 '21 04:09 vbc4ejyg

Hi is it possible to mount an internal folder as an external drive? Is it also possible to specify the mount point? that way data is not overwritten. Ie. to avoid data to be marked as deleted rather than missing.

I don’t know if I am describing this well so let me communicate the end goal. I like to toss things up to Crashplan and clear it from my hdd for long term storage. We can no longer do that due to crash plans deletion policy change (deletions are no longer kept forever, only 90 days). A loop hole is that “missing” folders (hdd is removed, external is not connected, etc) policy, that is they will never get deleted. Unless a drive is mapped to the same spot as the missing, then Crashplan will treat the drive like it was the old one. Comparing everything and deleting absent files.

paradoxgrowth avatar Oct 03 '21 21:10 paradoxgrowth

Bump

paradoxgrowth avatar Oct 08 '21 12:10 paradoxgrowth

Not sure I understand your question. If you initially created a mapping like this:

-v /share/external/DEV3301:/DEV3301:ro

And later you re-create the container without this mapping, /DEV3301 should be marked as missing by CrashPlan. Isn't what you are trying to achieve ?

jlesage avatar Oct 18 '21 13:10 jlesage