LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2014, 09:53 AM   #1
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Rep: Reputation: 22
Timeshift 1.4.1


Timeshift 1.4.1

Postby gael33 on Sun Mar 02, 2014 3:51 pm
I heard that Timeshift for Linux is the ideal software for taking a snapshot of the HDD, so I downloaded it and installed it.
Well, it looks really good but unfortunately I don't have enough space on my HDD. However, I do have a 500GB USB external HDD
and that's where it failed. It doesn't read the USB drive. On the Timeshift GUI there is a flip-down box for (I assume) to change drives.
Is there any way that I could get this program to copy a snapshot of my HDD on to the external USB drive?
Otherwise I will have to look for an alternative
Thanks,
gael.
 
Old 03-03-2014, 07:29 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
I've not used TimeShift but my first questions would be, what filesystem is the external drive using? and also does your OS see the drive but Timeshift does not, or is nothing seeing the drive?

Lastly, what does `dmesg | tail` say after you plug the external drive in? and also, what does `mount` show?
 
Old 03-03-2014, 08:14 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
I too have never used (even heard of) this. However, here's a quote from the developer
Quote:
Backup to Portable Device

Snapshots can be saved to portable hard disks with a Linux partition. Users can add a list of devices and TimeShift will remember the device and the partition. The next time the device is connected, the user will be prompted to save a snapshot on the device.
Looks pretty good option for those not using a snap aware filesystem/infrastructure (btrfs or LVM or zfs)
 
1 members found this post helpful.
Old 03-04-2014, 09:04 AM   #4
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by notKlaatu View Post
I've not used TimeShift but my first questions would be, what filesystem is the external drive using? and also does your OS see the drive but Timeshift does not, or is nothing seeing the drive?

Lastly, what does `dmesg | tail` say after you plug the external drive in? and also, what does `mount` show?
gael33@gael33 ~ $ dmesg | tail
[22272.992702] sd 9:0:0:0: [sde] Assuming drive cache: write through
[22272.997977] sd 9:0:0:0: [sde] No Caching mode page found
[22272.997983] sd 9:0:0:0: [sde] Assuming drive cache: write through
[22273.043274] sde: sde1
[22273.053754] sd 9:0:0:0: [sde] No Caching mode page found
[22273.053761] sd 9:0:0:0: [sde] Assuming drive cache: write through
[22273.053768] sd 9:0:0:0: [sde] Attached SCSI disk
[22273.063789] ses 9:0:0:1: Attached Enclosure device
[22274.336920] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:7c:4c:a5:3b:15:94:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[22399.448125] [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:7c:4c:a5:3b:15:94:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2

I usually get a message saying that the drive cannot be mounted, but the drive automatically opens when the USB is engaged.
 
Old 03-04-2014, 09:24 AM   #5
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by syg00 View Post
I too have never used (even heard of) this. However, here's a quote from the developerLooks pretty good option for those not using a snap aware filesystem/infrastructure (btrfs or LVM or zfs)
The external drive is a 'My Passport' drive and I do believe it has a VFAT F/S on it. Normally VFAT is the recommended F/S as both Linux and Windows can use it interchangeably.
I learned about Timeshift in the latest Linux Format Magazine so I guess it is a bonafide piece of software.
 
Old 03-04-2014, 03:07 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
VFAT has several limitations - I'd recommend you use NTFS; Mint 16 will mount it automagically (probably) when you plug it in (you can manually mount that VFAT). NTFS is quite well supported on Linux these days.
Looks like a variation on rsnapshot, should work ok as it uses rsync a "standard" tool.
 
1 members found this post helpful.
Old 03-04-2014, 03:20 PM   #7
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
Do you require this drive to be used both on Windows and Linux? If it's going to be your TImeShift backup drive, it sounds like it really will only be used for Linux, in which case, frankly, I'd go straight to EXT4, being a native, open, and very well-supported filesystem for Linux.

If you will be using the drive for Windows, then as syg00 says, NTFS would definitely be a better choice than FAT. I have also used exFAT with OK results. I do believe both NTFS and exFAT might require extra software to be installed (just look around your repo for ntfs and/or exfat related libraries and drivers and install them).

TimeShift sounds interesting, let us know how it works out for you!
 
Old 03-04-2014, 03:31 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Quote:
Originally Posted by notKlaatu View Post
Do you require this drive to be used both on Windows and Linux? If it's going to be your TImeShift backup drive, it sounds like it really will only be used for Linux, in which case, frankly, I'd go straight to EXT4, being a native, open, and very well-supported filesystem for Linux.
Excellent point. And as it's specifically a "system" (as distinct fron "user") backup, you'll need to be able to ensure that after the restore permissions are correct.
I change my vote to ext4 ....
 
1 members found this post helpful.
Old 03-04-2014, 04:12 PM   #9
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
I do have a considerable amount of info on the drive, so I'm going to have to go through it carefully before I reformat the drive with the ext4 file system. It might be a few of days before I complete the process so please don't think that I have ignored your advice. I will post on here when all is completed. Hopefully TimeShift will recognise the drive and I can give a review.
Till later

gael.
 
1 members found this post helpful.
Old 03-04-2014, 10:50 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Shouldn't be necessary to reformat the entire drive - shrink the VFAT (using gparted on Linux) and add a separate partition for the backup. Wouldn't need to be too large IMO. That way your data can stay where it is.
 
1 members found this post helpful.
Old 03-05-2014, 01:55 AM   #11
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by syg00 View Post
Shouldn't be necessary to reformat the entire drive - shrink the VFAT (using gparted on Linux) and add a separate partition for the backup. Wouldn't need to be too large IMO. That way your data can stay where it is.
Good idea, will try that as it sounds like less aggravation.

gael.
 
Old 03-05-2014, 05:17 PM   #12
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
Okay, the answer to the TimeShift problem is solved. SYG00 had the answer, I shrank the NTFS drive partition with Gparted and left enough space for what was required for backups. I then formatted the free space creating a ext4 partition and then used TimeShift (which now recognised the Linux drive) and created a drive snapshot. According to the information on TimeShift, the first snapshot takes the longest as the automatic updates are incremental. Updates can be every hour, day, week or month and once setup can be forgotten as it does what it says on the packet, so to speak.

Thanks for all the support guys.

gael.

PS. I always thought that my external HDD was VFAT, in fact it was NTFS. The chances are that if the HDD had been VFAT TimeShift may have been able to read it ... too late now!
 
Old 03-05-2014, 07:13 PM   #13
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
I wouldn't commit my data to a VFAT volume if I could help it, anyway. Not that I've had problems with it, necessarily, but the limitations are just a bit too severe for me.

Glad to hear it's sorted!
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration