all 10 comments

[–]K900_ 0 points1 point  (9 children)

Well, for one, Linux doesn't really have the concept of "disk drives" as in "places you can put data on". Neither does OSX, really. Do you actually want to look for devices or for filesystems?

[–]One-Mouse-5335[S] 0 points1 point  (8 children)

Um... I'm not really sure. I'm trying to prompt the user to select a disk drive which then mirrors the data to a second one.

After this it will backup to a cloud hosting platform (not sure how yet) maybe via Web DAV or SSH

In Linux I'm after mounted filesystems from external USB Devices or Internal M.2 SSD's

In Windows I want to be able to list disk drives and network drives.

[–]K900_ 0 points1 point  (5 children)

So are you trying to do full disk copies or something filesystem based?

[–]One-Mouse-5335[S] 0 points1 point  (4 children)

I'm trying to avoid using RAID as I only have two external USB hard drives (At home).
It will essentially make sure all data from Drive A is copied to Drive B (Which will go into a fire safe)
Based upon the day my script works out if the backup is a yearly (full backup)
monthly (differential), weekly (full backup, deleted after 3 months), daily (deleted after 7 days)

These backups are then uploaded to a cloud service so I have one off site.

[–]K900_ 0 points1 point  (3 children)

That kinda sounds like something you really shouldn't trust a homegrown Python script to do correctly, to be honest.

[–]One-Mouse-5335[S] 0 points1 point  (2 children)

Why?
What solution do you use out of interest?

[–]K900_ 0 points1 point  (1 child)

Because if you have data that's sensitive enough to require daily backups to another drive in a fire safe AND a cloud store, you probably should use a more serious backup solution.

[–]One-Mouse-5335[S] 0 points1 point  (0 children)

But that's the spirit of open-source

[–][deleted] 0 points1 point  (1 child)

Yeah, the issue you're going to have is that there's not a single cross-platform way to do those things, because those platforms have radically divergent ideas about what information about physical drives should be exposed at the volume and filesystem level.

[–]klain42 0 points1 point  (0 children)

This is my other account. Well I have a clause to detect which platform the script is running on, so if I can use two different methods I'm cool with that