Coder Social home page Coder Social logo

teejee2008 / timeshift Goto Github PK

View Code? Open in Web Editor NEW
4.6K 89.0 282.0 27.41 MB

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.

License: GNU Lesser General Public License v3.0

Shell 0.81% Makefile 0.93% Vala 98.27%

timeshift's Introduction

📣 NOTE 📣
Timeshift is now maintained by the Linux Mint project.
Any feature requests, pull requests, or issues should be submitted to the Linux Mint repository.

This repository contains the original code for Timeshift, and has been archived to avoid duplication of effort. Any open items in the issue tracker that are still relevant should be resubmitted in the new repo. Development will continue in the new repository.

Timeshift

Timeshift for Linux is an application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. Timeshift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored at a later date to undo all changes to the system.

In RSYNC mode, snapshots are taken using rsync and hard-links. Common files are shared between snapshots which saves disk space. Each snapshot is a full system backup that can be browsed with a file manager.

In BTRFS mode, snapshots are taken using the in-built features of the BTRFS filesystem. BTRFS snapshots are supported only on BTRFS systems having an Ubuntu-type subvolume layout (with @ and @home subvolumes).

Timeshift is similar to applications like rsnapshot, BackInTime and TimeVault but with different goals. It is designed to protect only system files and settings. User files such as documents, pictures and music are excluded. This ensures that your files remains unchanged when you restore your system to an earlier date. If you need a tool to backup your documents and files please take a look at the excellent BackInTime application which is more configurable and provides options for saving user files.

Features

Minimal Setup

  • Timeshift requires very little setup. Just install it, run it for the first time and take the first snapshot. Cron job can be enabled for taking automatic snapshots of the system at regular intervals. The backup levels can be selected from the Settings window.

  • Snapshots are saved by default on the system (root) partition in path /timeshift. Other linux partitions can also be selected. For best results the snapshots should be saved to an external (non-system) partition.

Multiple Snapshot Levels

  • Multiple levels of snapshots can be enabled - Hourly, Daily, Weekly, Monthly and Boot

  • Number of snapshots to retain can be specified for each level

  • Boot snapshots provide an additional level of backup and are created every time the system starts. Boot snapshots are created with a delay of 10 mins so that system startup is not affected.

Rsync & BTRFS Snapshots

  • Supports rsync snapshots on all systems

  • Supports BTRFS snapshots on BTRFS systems

It is strongly recommended to use BTRFS snapshots on systems that are installed on BTRFS partition. BTRFS snapshots are perfect byte-for-byte copies of the system. Nothing is excluded. BTRFS snapshots can be created and restored in seconds, and have very low overhead in terms of disk space.

User Data is Excluded by Default

Timeshift is designed to protect system files and settings. It is NOT a backup tool and is not meant to protect user data. Entire contents of users' home directories are excluded by default. This has two advantages:

  • You don't need to worry about your documents getting overwritten when you restore a previous snapshot to recover the system.
  • Your music and video collection in your home directory will not waste space on the backup device.

You can selectively include items for backup from the Settings window. Selecting the option "Include hidden items" from the Users tab will backup and restore the .hidden files and directories in your home folder. These folders contain user-specific config files and can be included in snapshots if required.

Note: It is not recommended to include user data in backups as it will be overwritten when you restore the snapshot.

  • Unlike similar tools that are scheduled to take backups at a fixed time of the day, Timeshift is designed to run once every hour and take snapshots only when a snapshot is due. This is more suitable for desktop users who keep their laptops and desktops switched on for few hours daily. Scheduling snapshots at a fixed time on such users will result in missed backups since the system may not be running when the snapshot is scheduled to run. By running once every hour and creating snapshots when due, Timeshift ensures that backups are not missed.
  • Applications like rsnapshot rotate a snapshot to the next level by creating a hard-linked copy. Creating a hard-linked copy may seem like a good idea but it is still a waste of disk space, since only files can be hard-linked and not directories. The duplicated directory structure can take up as much as 100 MB of space. Timeshift avoids this wastage by using tags for maintaining backup levels. Each snapshot will have only one copy on disk and is tagged as "daily", "monthly", etc. The snapshot location will have a set of folders for each backup level ("Monthly", "Daily", etc) with symbolic links pointing to the actual snapshots tagged with the level.

System Restore

  • Snapshots can be restored by selecting a snapshot from the main window and clicking Restore button on the toolbar.

  • Snapshots can be restored either from the running system (online restore) or from another system that has Timeshift installed on it (offline restore).

  • If the main system is not bootable, then it is possible to boot from an Ubuntu Live CD, install Timeshift on the live system, and restore a snapshot on the main system.

  • Restoring backups from the running system requires a reboot to complete the restore process.

Cross-Distribution Restore

  • You can also Timeshift across distributions. Let's say you are currently using Xubuntu and decide to try out Linux Mint. You install Linux Mint on your system and try it out for a week before deciding to go back to Xubuntu. Using Timeshift you can simply restore the last week's snapshot to get your Xubuntu system back. Timeshift will take care of things like reinstalling the bootloader and other details.
  • Since installing a new linux distribution also formats your root partition you need to save your snapshots on a separate linux partition for this to work.
  • It is recommended to include hidden items in home directory by selecting the option "Include Hidden Items" from Settings > Users.

Post Restore Hooks

  • Scripts can be run at the end of a restore job for anything that may need to be done prior to rebooting. The location for these scripts is /etc/timeshift/restore-hooks.d. Note: the script(s) will be run from the restored filesystem.

Supported System Configurations

  • Normal - OS installed on non-encrypted partitions

  • LUKS Encrypted - OS installed on LUKS-encrypted partitions

  • LVM2 - OS installed on LVM2 volumes (with or without LUKS)

  • BTRFS - OS installed on BTRFS volumes (with or without LUKS)

    • Only Ubuntu-type layouts with @ and @home subvolumes are supported
    • @ and @home subvolumes may be on same or different BTRFS volumes
    • @ may be on BTRFS volume and /home may be mounted on non-BTRFS partition
    • If swap files are used they should not be located in @ or @home and could instead be stored in their own subvolume, eg @swap
    • Other layouts are not supported
  • GRUB2 - Bootloader must be GRUB2. GRUB legacy and other bootloaders are not supported.

  • EFI - EFI systems are supported. Make sure that /boot/efi partition is selected for mounting before restoring snapshots (application will do it automatically).

  • Encrypted Home - For users with encrypted home, files in /home/.ecryptfs/$USER will be backed-up and restored. The decrypted contents in $HOME will be excluded. This avoids the security risk of decrypted contents becoming available outside the user's home directory.

  • Encrypted Private Directory - For users with encrypted Private directory, the encrypted files in $HOME/.Private, as well as the decrypted files in $HOME/Private, will be excluded (as it contains user data). Filters added by user to include files from $HOME/.Private or $HOME/Private will be ignored.

  • Docker & Containers - Docker and containerized systems are not supported. Running Timeshift on such systems will have unpredictable results.

Installation

Ubuntu-based Distributions

Ubuntu, Linux Mint, Elementary OS, etc.

Packages are available in the Launchpad PPA for supported Ubuntu releases. Run the following commands in a terminal window:

sudo add-apt-repository -y ppa:teejee2008/timeshift
sudo apt-get update
sudo apt-get install timeshift

DEB packages are available on Releases page for older Ubuntu releases which have reached end-of-life.

Fedora

Fedora is not fully supported. BTRFS snapshots only support Ubuntu-specific layouts.

Take a look at the issue tracker for open issues and use it with caution.

sudo dnf update
sudo dnf install timeshift

Installer can be used on the following distribution types:

  • Debian based - Debian, Ubuntu, Linux Mint, Elementary OS, etc (supports apt)
  • Arch based - Arch Linux, Manjaro, etc (supports pacman)

UnInstall

Run the following command in a terminal window:

sudo apt-get remove timeshift

or

sudo timeshift-uninstall

Remember to delete all snapshots before un-installing. Otherwise the snapshots continue to occupy space on your system. To delete all snapshots, run the application, select all snapshots from the list (CTRL+A) and click the Delete button on the toolbar. This will delete all snapshots and remove the /timeshift folder in the root directory.

If you used the installer to install Timeshift, you can remove the installed files with following command:

sudo timeshift-uninstall

Known Issues & Limitations

BTRFS volumes

BTRFS volumes must have an Ubuntu-type layout with @ and @home subvolumes. Other layouts are not supported. Systems having the @ subvolume and having /home on a non-BTRFS partition are also supported.

Text file busy / btrfs returned an error: 256 / Failed to create snapshot can occur if you have a Linux swapfile mounted within the @ or @home subvolumes which prevents snapshot from succeeding. Relocate the swapfile out of @ or *@home, for example into it's own subvolume like @swap.

Disk Space

Timeshift requires a lot of disk space to keep snapshot data. The device selected as snapshot device must have sufficient free space to store the snapshots that will be created.

If the backup device is running out of space, try the following steps:

  • Reduce the number of backup levels - Uncheck the backup levels and keep only one selected
  • Reduce the number of snapshots that are kept - In the Schedule tab set the number of snapshots to 5 or less.
  • You can also disable scheduled snapshots completely and create snapshots manually when required

Bootloader & EFI

  • Only those systems are supported which use GRUB2 bootloader. Trying to create and restore snapshots on a system using older versions of GRUB will result in a non-bootable system.
  • EFI systems are fully supported. Ensure that the /boot/efi partition is mapped while restoring a snapshot. It will be mapped automatically if detected.
  • If you are restoring from Live CD/USB, and your installed system uses EFI mode, then you must boot from Live CD/USB in EFI mode.

Support

This is a free application that is provided "as-is" without support or warranty.

If you use Linux Mint and need support for an issue please use the Linux Mint support forums

Issues reported on the Issue Tracker will be fixed during the next update. Updates are done once a year due to lack of time and developers.

Disclaimer

This program is free for personal and commercial use and comes with absolutely no warranty. You use this program entirely at your own risk. The author will not be liable for any damages arising from the use of this program. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Contribute

You can contribute to this project in various ways:

  • Submitting ideas, and reporting issues in the tracker
  • Translating this application to other languages
  • Contributing code changes by fixing issues and submitting a pull request
  • Making a donation via PayPal or bitcoin

Donate

Timeshift is a non-commercial application. I work on it during my free time based on my requirements and interest. If you wish to support this project, you can make a donation via PayPal.

PayPal

Bitcoin ~ You can send bitcoins at this address or by scanning the QR code below:

1KdEyJjkuEW8aZWjenf4x5uEeHo9VTYqio

timeshift's People

Contributors

alan01 avatar alephalpha avatar cges30901 avatar clefebvre avatar cmulk avatar djaler avatar eson57 avatar hugok79 avatar kacperpaczos avatar kelebek333 avatar kheyyam avatar mahtiankka avatar mtwebster avatar muzena avatar ngaro avatar nikokrause avatar olesyagerasimenko avatar p-bo avatar pjotr123 avatar png2378 avatar rodrigokrz avatar scootergrisen avatar seigneurfuo avatar srakitnican avatar tanarri avatar teejee2008 avatar totalcaesar659 avatar umidjonalmasov avatar welaq avatar yakushabb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

timeshift's Issues

installer links are broken

The installer links which you provided in your README.md are broken (File not Found). Could you provide new ones? I would like to install timeshift on my debian system.

Support for Wayland session

Any plain for support also Wayland ?
Build your last commit in Gnome and with X-org session ( Gnome-Xorg session ) all work fine , in Gnome wayland ( Gnome session ) the gui not work : cannot open display :0

Stefano

Publish to AppCenter

Since you moved to GitHub, it would be cool to publish TimeShift in AppCenter (elementary OS software center).

This will increase the popularity of TimeShift and will allow you to monetize it.

The application Timeshift has closed unexpectedly

It crashes at least once a day. Can I do anything to stop it?
Sorry I can not copy the report I assume ubuntu send them on to you. IF not let me know what commands to run to give you further information

Desktop launcher not working in Wayland

Hi , i have build for Manjaro v17.10 but it not run from desktop launcher (wayland session) ..
via terminal timeshift-launcher work.. Any idea how trace this ?

bootable ?

Hi,

I had briefly tried superduper on my hackintosh, liked the idea of backing up of the entire system partition and the best part being the backed up partition being bootable. Is the same function possible with timeshift ? I would certainly like to backup my entire system partition and yet have it bootable. makes life so much easier by booting into the backed up partition and restoring it to the original system partition.

Any possibility of you accommodating such a feature(bootable backup partition) in your software ?

PS : i know i can currently backup the entire partition through gparted. A superduper like functionality on our Linux machines would be great.

thanks.

Modify Timeshift GUI to run as normal user

Modify timeshift-gtk so that it runs as normal user. Execute all privileged actions using the timeshift command-line tool.

Required for running under Wayland, as Wayland doesn't allow GUI apps to run as admin. #41

Enhancement suggestion - compression

Hi

Is it possible to use compressed copies of the snapshot files, rather than simply copying full-size files? So that the files in the snapshot directory retain all the same attributes as the original, but are for example zipped?

Admittedly, on binary files it may not make a huge difference, but there's a significant number of text files in a linux system and they would benefit from holding the zipped version...

Hope that helps..

Cheers

Carl.

Add option to include complete /home

Hi, it would be nice, if there would be an option that includes all users homes // excludes nothing in /home.
So that we can add a new user and it's home will get backuped.

Progress in the headbar

Hello, could you implement progress of creating snapshot (and checking system before it) in the headbar? It's not comfortable to switch windows every time.
1

Write to directory other than specified when that directory is not available

I'm not sure if this is a bug or a feature, but this has been bothering me for a while. I set timeshift up to backup my / directory to a directory on an external hard drive. When the external hard drive is not connected, I expect the schedule snapshot feature to just fail silently, but instead, it creates /timeshift and writes the snapshot to that directory. When I block it from writing to / , it goes and creates /home/Download/timeshift and does the same thing. If this is a feature, I understand that backups are really important, and I understand why the application does that, but I think there should be an opt-in option so that the user can expect what would happen instead of being taken by surprise.

Closedown problems

I tried to follow some instructions about changing my Gnome 16.04 system. I changed my mind and used Timeshift to restore to a stable system. That worked except I can not get gnome to power off as it reboots at the end of the power off procedure instead of turning the power off. This was not a problem I had prior to the restore and so I suspect the problem arose because of the way TS has restored the system. All I did was restore the incremental backup that was most close to the time of the changes I had wrongly made to the system.

Is there anything I can do about restoring my computer's ability to close down via power off.

Issue with systems having encrypted home or private directories

Following changes were made:

  • Encrypted Home - For users with encrypted home, the files in /home/.ecryptfs/$USER will be backed-up and restored. The decrypted contents in $HOME will be excluded. This avoids the security issue of decrypted contents becoming available outside the user's home directory. Since files in /home/.ecryptfs/$USER contain the entire encrypted contents of user's $HOME, it is not possible to exclude any files. Filters added by user to exclude files in $HOME will be ignored.
  • Encrypted Private Directory - For users with encrypted Private directory, the encrypted files in $HOME/.Private, as well as the decrypted files in $HOME/Private, will be excluded (as it contains user data). Filters added by user to include files from $HOME/.Private or $HOME/Private will be ignored.

encrypted_home_warning

encrypted_private_dir_warning

Confusing footnote

Timeshift

The footnote says * Scheduled task runs once every hour, no matter if you choose Daily, Weekly, etc.

If I choose Daily, shouldn't it say once a day, etc?

Or how does that work?

Also it's possible to check more than one task. What happens, when I choose all of them?

Can you clarify this?

Also it would be great, if it would say the exact time, e.g.
The scheduled task runs once every hour (10:00, 11:00,12:00),

Or something like that:
Next scheduled task runs at 09:25.

Something less confusing.

Add OpenSUSE support (zypper)

Snapper relies upon BTRFS subvolumes, cannot be fully GUI driven, and is very rigid in terms of backup solutions. Could Timeshift be readily adapted to work on OpenSUSE? My particular setup has a small host root partition, but considerable storage on other drives. Given this, BTRFS quickly runs into space issues, especially on a rolling-release system (where a solution like Snapper or TimeShift is needed most).

Remember column sort after restart

Steps to reproduce:

  • sort "snapshot" column in descending order to see latest snapshots by clicking once on column title,
  • close and restart timeshift,
  • column "snaphot" sorted ascending again.

Expected behavior: remember column sorting after restart.

PS: thanks for your great piece of software!

Building from source fails with vala 0.36.3

I'm using timeshift on arch based distros from the AUR.
Recently vala was updated and timeshift no longer builds:

Gtk/ExcludeBox.vala:301.17-301.20: error: Argument 1: Cannot pass value to reference or output parameter store.remove(item); ^^^^ Gtk/RsyncLogWindow.vala:167.4-167.22: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> () Compilation failed: 1 error(s), 21 warning(s) make[1]: *** [makefile:27: all] Error 1 make: *** [makefile:2: all] Error 2 /usr/bin/makepkg: line 729: logpipe: unbound variable warning: package timeshift failed to build, skipping

I don't know what changed by latest vala and I'm not a programmer, so I'm just reporting this here.

Snapshots location wrong if docker service is running

Hello!
first, thanks for timeshift. I love it :)

Today i noticed a strange behaviour. After installing Docker, it seemed i lost all my snapshots. But they existed in the filesystem.
Then i noticed that the default folder for snapshot (clicking 'browse') was /var/lib/docker/aufs, so i stopped my docker service and voila, my snapshots were still there.

I suppose it's an issue related to the docker's AUFS storage driver.

It's quite easy to stop/restart docker service when i need to do a manual snapshot, but it's a bad thing for scheduled ones.

Thanks again :)

[Feature request] Support for other btrfs subvolume layouts

Would this be feasible to add? It seems that just having @ and @home is not enough, but there must also be no other subvolumes. This limits the usability severely. Which is a shame, because this is one the nicest guis to manage btrfs snapshots.

teejee ppa error

adding the ppa under PureOS (debian flavour) gives the following error when I try to udpate...
http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic Release 404 Not Found

Unmount

Looks like you forgot to unmount /mnt/timeshift/backup after app close in btrfs mode.

Possible to change time of daily snapshot?

Is there a way of changing the time it runs the snapshot

mine insists on running daily at 19:00 which is really annoying as it slows the system down every day at that time for 20 minutes. .

would much rather it did it in the night

Aparent storage leak on interrupted snapshots

I interrupted the first snapshot I tried to create, because I had forgotten something; then I was able to create 2 snapshots normally and the GUI only lists those. But a folder still exists for the first interrupted snapshot in /timeshift/snapshots, using ~500MB in this case.

Broken Dropbox links in README.md

Other Linux Distributions

Download the installer from following links:
timeshift-latest-i386.run (32-bit, 170 KB)
timeshift-latest-amd64.run (64-bit, 180 KB)

Non-hidden files and directories not getting backed up in /home

Timeshift v17.2 (installed from the PPA) backs up all hidden files and directories in /home/username but nothing else.

I'm running Linux Mint 17.1 with separate /home partition, standard setup, no encryption or anything out of the ordinary regarding partitions or files. I added nothing in the ignore list also. Destination for the snapshot is on a different disk.

UI does not work under Gnome 3 desktop

Unable to get the UI to open. When launching from the launchpad nothing happens.

The CLI seem to be working, but I can't find any documentation/tutorials on how to get it to run from the CLI.

Also, adding the ppa under PureOS (debian flavour) gives the following error when I try to udpate...
http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic Release 404 Not Found

Support S3 Backups

Are there any plans for supporting S3 backups? Deja Dup, the default backup solution for Ubuntu, has recently announced that they deprecated the support of many cloud providers (the S3 option is still supported but hidden for the time being). I think this opens the possibility for Timeshift to attact more ex-Dejadup users.

GUI crashes on restore snapshot, restore fails

Timeshift 17.1
Ubuntu 16.04 all updates applied

Unable to perform restore snapshot from GUI. After selecting snapshot and clicking on restore, next, the GUI closes without performing the restore.
Restore is possible from the command line.

thanks

Dates are in the United States format, on a British computer

In your fine utility, dates of restore point appear in the - to me - confusing American format. Possibly this is an XFCE problem (I am using XFCE) rather than the fault of TImeShift.

Also: a hover tooltip explaing the 'tags' - when the pointing is over a tag - wouldn't hurt.

Build from source fine but GUI not opening

Hi there , i'm a part of Manjaro Linux Team , i have grab your last commit from github and build timeshift. Here the PKGBUILD : all build fine but i not able to open the gui .. no message appear
this is the debug from command line..

~/timeshift >>> sudo timeshift --debug                                         
[sudo] password di stefano: 
D: Main()
D: 
D: Running Timeshift v17.9
D: 
D: Session log file: /var/log/timeshift/2017-09-23_18-58-11_.log
D: Distribution: ManjaroLinux 17.0.5 (Gellivara)
D: DIST_ID: ManjaroLinux
D: Main: check_dependencies()
D: Main: add_default_exclude_entries()
D: Main: add_default_exclude_entries(): exit
D: update_partitions()
D: 
D: lsblk --bytes --pairs --output NAME,KNAME,LABEL,UUID,TYPE,FSTYPE,SIZE,MOUNTPOINT,MODEL,RO,HOTPLUG,PKNAME,VENDOR,SERIAL,REV
D: 
D: device       ,pkname ,kname ,uuid                                 ,mapped_name
D: ----------------------------------------------------------------------------------------------------
D: /dev/sda     ,      ,sda   ,                                     ,
D: /dev/sda1    ,sda   ,sda1  ,88AB-D99E                            ,
D: /dev/sda2    ,sda   ,sda2  ,                                     ,
D: /dev/sda3    ,sda   ,sda3  ,C650AF5C50AF524B                     ,
D: /dev/sda4    ,sda   ,sda4  ,6CCCB151CCB115F4                     ,
D: /dev/sda5    ,sda   ,sda5  ,52223b8f-0059-4d4b-8fde-18df1731c466 ,
D: /dev/sda6    ,sda   ,sda6  ,836f242d-2b64-4c13-bda9-6d66ef1d38b0 ,
D: /dev/sda7    ,sda   ,sda7  ,16ba0490-4812-4339-b230-e930a552868b ,
D: /dev/sda8    ,sda   ,sda8  ,c233676c-62fb-4a44-bde1-a87a3ce8d182 ,
D: /dev/sda9    ,sda   ,sda9  ,1baa9141-2207-46b3-9cf4-92b8606fe51a ,
D: /dev/sr0     ,      ,sr0   ,2016-10-18-11-43-43-00               ,
D: /dev/sr1     ,      ,sr1   ,                                     ,
D: 
D: Device: get_block_devices_using_lsblk(): 12
D: df -T -B1
D: Device: get_disk_space_using_df(): 5
D: Device: get_mounted_filesystems_using_mtab(): 5
D: Device: get_filesystems(): 12
D: partition list updated
D: detect_system_devices()
D: / is mapped to device: /dev/sda5, UUID=52223b8f-0059-4d4b-8fde-18df1731c466
D: /home is mapped to device: /dev/sda9, UUID=1baa9141-2207-46b3-9cf4-92b8606fe51a
D: Searching subvolume for system at path: /
D: Users: stefano prova root
D: Encrypted home users: 
D: Encrypted home dirs:

D: Encrypted private dirs:

D: Main: load_app_config()
First run mode (config file not found)
Selected default snapshot type: RSYNC
D: Main(): ok
D: AppConsole: parse_arguments()
D: Main: initialize_repo()
D: backup_uuid=
D: backup_parent_uuid=
D: try_select_default_device_for_backup()
D: SnapshotRepo: available()
D: device is null
D: is_available: false
D: update_partitions()
D: 
D: lsblk --bytes --pairs --output NAME,KNAME,LABEL,UUID,TYPE,FSTYPE,SIZE,MOUNTPOINT,MODEL,RO,HOTPLUG,PKNAME,VENDOR,SERIAL,REV
D: 
D: device       ,pkname ,kname ,uuid                                 ,mapped_name
D: ----------------------------------------------------------------------------------------------------
D: /dev/sda     ,      ,sda   ,                                     ,
D: /dev/sda1    ,sda   ,sda1  ,88AB-D99E                            ,
D: /dev/sda2    ,sda   ,sda2  ,                                     ,
D: /dev/sda3    ,sda   ,sda3  ,C650AF5C50AF524B                     ,
D: /dev/sda4    ,sda   ,sda4  ,6CCCB151CCB115F4                     ,
D: /dev/sda5    ,sda   ,sda5  ,52223b8f-0059-4d4b-8fde-18df1731c466 ,
D: /dev/sda6    ,sda   ,sda6  ,836f242d-2b64-4c13-bda9-6d66ef1d38b0 ,
D: /dev/sda7    ,sda   ,sda7  ,16ba0490-4812-4339-b230-e930a552868b ,
D: /dev/sda8    ,sda   ,sda8  ,c233676c-62fb-4a44-bde1-a87a3ce8d182 ,
D: /dev/sda9    ,sda   ,sda9  ,1baa9141-2207-46b3-9cf4-92b8606fe51a ,
D: /dev/sr0     ,      ,sr0   ,2016-10-18-11-43-43-00               ,
D: /dev/sr1     ,      ,sr1   ,                                     ,
D: 
D: Device: get_block_devices_using_lsblk(): 12
D: df -T -B1
D: Device: get_disk_space_using_df(): 5
D: Device: get_mounted_filesystems_using_mtab(): 5
D: Device: get_filesystems(): 12
D: partition list updated
D: SnapshotRepo: from_device(): RSYNC
D: SnapshotRepo: init_from_device()
D: 
D: SnapshotRepo: unlock_and_mount_devices()
D: device=/dev/sda5
D: SnapshotRepo: unlock_and_mount_device()
D: device=/dev/sda5
D: Device: get_mounted_filesystems_using_mtab(): 5
D: SnapshotRepo: load_snapshots()
D: SnapshotRepo: unlock_and_mount_device(): exit
D: Selected snapshot device: /dev/sda5
D: Free space: 45.1 GB
D: SnapshotRepo: check_status()
D: SnapshotRepo: available()
D: is_available: ok
D: SnapshotRepo: has_snapshots()
D: SnapshotRepo: has_space()
D: df -T -B1 '/dev/sda5'
D: Device: get_disk_space_using_df(): 1
D: no snapshots
D: Snapshot device: '/dev/sda5'
D: Snapshot location: /
D: No snapshots on this device
D: First snapshot requires: 0 B
D: Status: NO_SNAPSHOTS_HAS_SPACE
D: 
D: SnapshotRepo: check_status(): exit
D: SnapshotRepo: init_from_device(): exit
Selected default snapshot device: /dev/sda5
D: Main: initialize_repo(): exit
D: AppConsole: start_application()
D: exit_app()
D: Main: save_app_config()
D: SnapshotRepo: available()
D: is_available: ok
App config saved: /etc/timeshift.json
D: crontab -l
D: crontab -l
Added cron task: /etc/cron.d/timeshift-hourly
Added cron task: /etc/cron.d/timeshift-boot
D: unmount_target_device()
D: clean_logs()
~/timeshift >>>      

Thank you in advance
Stefano Capitani

Dialog box mangled

I've packaged Timeshift for Fedora, it runs fine mostly, except a few dialog boxes, this one appears when GUI is started without admin access. Any idea why?

shot-2017-09-19_08-09-57

Computed free space is wrong

Timeshift 17.2 shows more free space than actually available. In my case it shows 9.4GB available, but the result of df is only 3.1GB.

Maybe it’s related to my LUKS system:

$ df -h
Dateisystem                 Größe Benutzt Verf. Verw% Eingehängt auf
udev                         1,9G       0  1,9G    0% /dev
tmpfs                        384M     11M  373M    3% /run
/dev/mapper/ubuntu--vg-root  113G    104G  3,1G   98% /
tmpfs                        1,9G    109M  1,8G    6% /dev/shm
tmpfs                        5,0M    8,0K  5,0M    1% /run/lock
tmpfs                        1,9G       0  1,9G    0% /sys/fs/cgroup
/dev/sda2                    237M    125M  100M   56% /boot
/dev/sda1                    511M    3,5M  508M    1% /boot/efi
cgmfs                        100K       0  100K    0% /run/cgmanager/fs
tmpfs                        384M    152K  384M    1% /run/user/1000

image
image

PPA isn't found

Instructions to install Ubuntu package using add-apt-repository fail

x64 File missing from dropbox

Hi, I didn't know where to put this, it is not a bug report but there is no 64-bit file on Dropbox, the link is broken. If you don't mind, can you please re-upload or re-link to the 64-bit file. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.