Backup of USB stick {SOLVED}
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 8
- Posts: 2297
- Joined: Sat Sep 17, 2016 6:40 pm
- Location: England
Backup of USB stick {SOLVED}
After nearly losing data stored on a protected USB stick
viewtopic.php?f=90&t=379372
I realise it is time to make an equally well protected backup.
I have seen
viewtopic.php?f=50&t=379319&p=2215773&h ... e#p2215773
but I want a non terminal method.
My first thought is to simply copy from one stick to another as the total amount of data is less than 4GB, however I am open to suggestions for a better strategy that is quick and simple.
viewtopic.php?f=90&t=379372
I realise it is time to make an equally well protected backup.
I have seen
viewtopic.php?f=50&t=379319&p=2215773&h ... e#p2215773
but I want a non terminal method.
My first thought is to simply copy from one stick to another as the total amount of data is less than 4GB, however I am open to suggestions for a better strategy that is quick and simple.
Last edited by LockBot on Mon Feb 13, 2023 11:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Cliff Coggin
Re: Backup of USB stick
Honestly, what can be quicker and simpler than the direct way?
-
- Level 8
- Posts: 2297
- Joined: Sat Sep 17, 2016 6:40 pm
- Location: England
Re: Backup of USB stick
OK. I'll do that, and I'd like to protect it the same way as the original because that system works and I am comfortable with it. However that causes me an embarrassing difficulty in that I have forgotten how I protected or encrypted the first device a couple of years ago. Its properties do not give me a clue, nor does the appearance of the password dialogue box. Is there a way to identify the protection/encryption method I have used?
Cliff Coggin
Re: Backup of USB stick
No, in this case the protection would likely be illusion.
Perhaps you should think about a password manager like KeePassXC.
Perhaps you should think about a password manager like KeePassXC.
- Lady Fitzgerald
- Level 15
- Posts: 5807
- Joined: Tue Jan 07, 2020 3:12 pm
- Location: AZ, SSA (Squabbling States of America)
Re: Backup of USB stick
For 4GB or less, I agree.
Jeannie
To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
Re: Backup of USB stick
Even if it would be larger than 4 GB. Otherwise you would have to copy the 4+ GB file to an interim place and then again the 4+ amount to the second stick. You only add more needed time and of course an additional step. Even assumed you would create for that purpose a RAM-disk (only hypothetically), you have to read from a stick (to the RAM disk) and you have to write (from the RAM-disk) to a stick.
-
- Level 8
- Posts: 2297
- Joined: Sat Sep 17, 2016 6:40 pm
- Location: England
Re: Backup of USB stick
I use KeepassXC already for the password, in fact I use it for all passwords. My question is how to discover what application I used to apply the existing protection. I simply do not remember if I have used encryption software or merely password protection.
Cliff Coggin
Re: Backup of USB stick
As I said already: You cannot (except it would be a rather insecure application).cliffcoggin wrote: ⤴Sun Aug 14, 2022 9:48 am My question is how to discover what application I used to apply the existing protection.
-
- Level 8
- Posts: 2297
- Joined: Sat Sep 17, 2016 6:40 pm
- Location: England
Re: Backup of USB stick
Well this is intriguing. I have looked into several encryption/protection methods via compression, and all of them need to be extracted in a few steps. I can use them of course, but none are as straightforward as the unknown method I use at the moment. All I need do at present is plug in the USB stick, enter the password, and the data is revealed. Does that sound familiar to anyone?
Cliff Coggin
Re: Backup of USB stick
It sounds like the native Linux LUKS encryption. With the storage device connected please post the output from the following command from a terminal session to help identify the LUKS encryption method:cliffcoggin wrote: ⤴Mon Aug 15, 2022 8:20 am ,,,
All I need do at present is plug in the USB stick, enter the password, and the data is revealed. Does that sound familiar to anyone?
Code: Select all
sudo lsblk -f
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
-
- Level 8
- Posts: 2297
- Joined: Sat Sep 17, 2016 6:40 pm
- Location: England
Re: Backup of USB stick
Code: Select all
[sudo] password for cliffcoggin:
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1
│ ntfs System Reserved
│ 524881174880FB4D
└─sda2
ntfs E81687FC1687C9D0
sdb
├─sdb1
│ ext4 b8cb396b-91e0-4778-9189-5649476b306e 13.8G 44% /
├─sdb2
│ swap b61807f9-d44d-45a5-bdc5-691fc4428a9a [SWAP]
└─sdb3
ext4 b4b9f16f-0c57-4641-b06a-36265f15cf74 324.6G 15% /run/times
sdc
└─sdc1
crypto a64bf3cb-b31f-448b-b011-7478a4a6f486
└─luks-a64bf3cb-b31f-448b-b011-7478a4a6f486
ext4 Tempus
d7ccf3f5-993d-4380-8278-bcaa5d25a67c 3.2G 7% /media/cli
sr0
Cliff Coggin
Re: Backup of USB stick
You can use the more user friendly
Create or select the appropriate partition
Click the gears and select format partition
Click internal disk ext4 and the password protect volume (LUKS)
Note the internal disk ext4 works on external USB storage devices as well.
Disks
GUI utility to create additional LUKS encryption. Create or select the appropriate partition
Click the gears and select format partition
Click internal disk ext4 and the password protect volume (LUKS)
Note the internal disk ext4 works on external USB storage devices as well.
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
-
- Level 8
- Posts: 2297
- Joined: Sat Sep 17, 2016 6:40 pm
- Location: England
Re: Backup of USB stick
Encryption via Disks was indeed the answer, thank you. Even though I have now made and tested the encrypted backup, it still does not prompt any memory of encrypting the original two years ago. I blame it on senility. Nevertheless I achieved what I wanted with your help.
Cliff Coggin