You are not logged in.

#1 2022-04-19 13:34:12

difri84
Member
Registered: 2021-12-09
Posts: 78

timeshift is not creating info.json [SOLVED]

Hi guys, this should be rather simple but i'm losing my mind around it!

new snapshots are not created with the info.json file into them
this means the snapshot are invisibile to timeshift
they are correctly created but unusable because the missing of this file

i tried to sudo pacman -Rsn timeshift
and then delete all files found with
find / -iname *timeshift*
reinstalled timeshift and the problem persists!

what can i do?

Last edited by difri84 (2022-04-21 16:54:40)

Offline

#2 2022-04-19 17:04:36

difri84
Member
Registered: 2021-12-09
Posts: 78

Re: timeshift is not creating info.json [SOLVED]

Update: i tried to run timeshift from cli and i got this

/dev/sda2 is mounted at: /run/timeshift/backup, options: rw,relatime

------------------------------------------------------------------------------
Creating new snapshot...(RSYNC)
Saving to device: /dev/sda2, mounted at path: /run/timeshift/backup
Synching files with rsync...
E: rsync returned an error
E: Failed to create new snapshot
Failed to create snapshot
------------------------------------------------------------------------------
Removing snapshots (incomplete):
------------------------------------------------------------------------------
Removing '2022-04-19_18-22-56'...
Removed '2022-04-19_18-22-56'
------------------------------------------------------------------------------

any idea about how to discovering more about the rsync error?

Offline

#3 2022-04-19 17:57:49

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: timeshift is not creating info.json [SOLVED]

ldd /usr/bin/rsync
stat /usr/bin/rsync

?


Notifications for Arch Linux package updates
RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#4 2022-04-19 18:14:36

difri84
Member
Registered: 2021-12-09
Posts: 78

Re: timeshift is not creating info.json [SOLVED]

        linux-vdso.so.1 (0x00007ffe26ff0000)
	libacl.so.1 => /usr/lib/libacl.so.1 (0x00007fc403629000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007fc40360f000)
	libpopt.so.0 => /usr/lib/libpopt.so.0 (0x00007fc403600000)
	liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007fc4035dd000)
	libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007fc40352e000)
	libxxhash.so.0 => /usr/lib/libxxhash.so.0 (0x00007fc403521000)
	libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007fc40323e000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007fc403034000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fc4036e4000)
File: /usr/bin/rsync
  Size: 497008    	Blocks: 976        IO Block: 4096   regular file
Device: 259,3	Inode: 2788080     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2022-04-19 18:39:06.000000000 +0200
Modify: 2022-04-16 22:11:22.000000000 +0200
Change: 2022-04-19 18:39:06.452927553 +0200
 Birth: 2022-04-19 18:39:06.452927553 +0200

Last edited by difri84 (2022-04-19 18:16:11)

Offline

#5 2022-04-19 18:20:42

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: timeshift is not creating info.json [SOLVED]

Please run timeshift using the '--debug' flag for additional debug info

Last edited by dogknowsnx (2022-04-19 18:21:19)


Notifications for Arch Linux package updates
RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#6 2022-04-19 18:30:50

difri84
Member
Registered: 2021-12-09
Posts: 78

Re: timeshift is not creating info.json [SOLVED]

D: Main()
D:
D: Running Timeshift v21.09.1
D:
D: Session log file: /var/log/timeshift/2022-04-19_20-24-33_ondemand.log
D: Distribution: arch
D: DIST_ID: arch
D: Main: check_dependencies()
D: Main: add_default_exclude_entries()
D: Main: add_default_exclude_entries(): exit
D: update_partitions()
D: df -T -B1
D: Device: get_disk_space_using_df(): 4
D: Device: get_mounted_filesystems_using_mtab(): 4
D: Device: get_filesystems(): 10
D: partition list updated
D: detect_system_devices()
D: / is mapped to device: /dev/nvme0n1p3, UUID=62af7ed7-c0eb-402c-8dfe-e4612a385423
D: Searching subvolume for system at path: /
D: Users: root dario
D: Encrypted home users:
D: Encrypted home dirs:

D: Encrypted private dirs:

D: Main: load_app_config()
App config loaded: /etc/timeshift/timeshift.json
D: IconManager: init()
D: bin_path: /usr/bin/timeshift
D: found images directory: /usr/share/timeshift/images
D: Main(): ok
D: AppConsole: parse_arguments()
D: Main: initialize_repo()
D: backup_uuid=accfb97b-b4b4-4e6a-aa42-59a2ba549cbc
D: backup_parent_uuid=
D: Using snapshot device specified as command argument: /dev/sda2
D: SnapshotRepo: from_device(): RSYNC
D: SnapshotRepo: init_from_device()
D:
D: SnapshotRepo: unlock_and_mount_devices()
D: device=/dev/sda2
D: SnapshotRepo: unlock_and_mount_device()
D: device=/dev/sda2
D: Device: get_mounted_filesystems_using_mtab(): 4
D: ------------------
D: arg=accfb97b-b4b4-4e6a-aa42-59a2ba549cbc, device=/dev/sda2
D: /run/timeshift/backup
D: ------------------

/dev/sda2 is mounted at: /run/timeshift/backup, options: rw,relatime

D: SnapshotRepo: load_snapshots()
D: loading snapshots from '/run/timeshift/backup/timeshift/snapshots': 0 found
D: SnapshotRepo: unlock_and_mount_device(): exit
D: Selected snapshot device: /dev/sda2
D: Free space: 105.6 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/sda2'
D: Device: get_disk_space_using_df(): 1
D: no snapshots
D: SnapshotRepo: check_status(): exit
D: SnapshotRepo: init_from_device(): exit
D: Main: initialize_repo(): exit
D: AppConsole: start_application()
D: Main: create_snapshot()
D: SnapshotRepo: has_space()
D: df -T -B1 '/dev/sda2'
D: Device: get_disk_space_using_df(): 1
D: no snapshots
D: Main: backup_and_rotate()
D: SnapshotRepo: available()
D: is_available: ok
D: SnapshotRepo: has_space()
D: df -T -B1 '/dev/sda2'
D: Device: get_disk_space_using_df(): 1
D: no snapshots
------------------------------------------------------------------------------
Creating new snapshot...(RSYNC)
Saving to device: /dev/sda2, mounted at path: /run/timeshift/backup
D: Main: save_exclude_list_for_backup()
D: Main: create_exclude_list_for_backup()
D: Main: create_exclude_list_for_backup(): exit
Synching files with rsync...
D: RsyncTask:execute()
D: rsync -aii --recursive --verbose --delete --force --stats --sparse --delete-excluded --log-file='/run/timeshift/backup/timeshift/snapshots/2022-04-19_20-24-33/rsync-log' --exclude-from='/run/timeshift/backup/timeshift/snapshots/2022-04-19_20-24-33/exclude.list' --delete-excluded '/' '/run/timeshift/backup/timeshift/snapshots/2022-04-19_20-24-33/localhost/'
D: RsyncTask:prepare(): saved: /tmp/GHwWpU62/2022-04-19_20-24-33/script.sh
D: AsyncTask: child_pid: 1938
D: AsyncTask: finish(): entermaining)
D: exit_code: 0
E: rsync returned an error
E: Failed to create new snapshot
Failed to create snapshot
------------------------------------------------------------------------------
D: SnapshotRepo: load_snapshots()
D: loading snapshots from '/run/timeshift/backup/timeshift/snapshots': 0 found
D: SnapshotRepo: auto_remove()
D: SnapshotRepo: remove_untagged()
D: SnapshotRepo: load_snapshots()
D: loading snapshots from '/run/timeshift/backup/timeshift/snapshots': 0 found
D: SnapshotRepo: load_snapshots()
D: loading snapshots from '/run/timeshift/backup/timeshift/snapshots': 0 found
Removing snapshots (incomplete):
------------------------------------------------------------------------------
Removing '2022-04-19_20-24-33'...
D: RsyncTask:execute()
D: rm -rfv '/run/timeshift/backup/timeshift/snapshots/2022-04-19_20-24-33/'
D: RsyncTask:prepare(): saved: /tmp/GHwWpU62/2022-04-19_20-30-20/script.sh
D: AsyncTask: child_pid: 2004
D: AsyncTask: finish(): entermaining)
D: exit_code: 0
Removed '2022-04-19_20-24-33'
------------------------------------------------------------------------------
D: SnapshotRepo: load_snapshots()
D: loading snapshots from '/run/timeshift/backup/timeshift/snapshots': 0 found
D: SnapshotRepo: load_snapshots()
D: loading snapshots from '/run/timeshift/backup/timeshift/snapshots': 0 found
D: rm -rf "/run/timeshift/backup/timeshift/snapshots-boot/"
D: rm -rf "/run/timeshift/backup/timeshift/snapshots-hourly/"
D: rm -rf "/run/timeshift/backup/timeshift/snapshots-daily/"
D: rm -rf "/run/timeshift/backup/timeshift/snapshots-weekly/"
D: rm -rf "/run/timeshift/backup/timeshift/snapshots-monthly/"
D: rm -rf "/run/timeshift/backup/timeshift/snapshots-ondemand/"
D: Symlinks updated
D: exit_app()
D: crontab -l
D: Failed to read cron tab
D: crontab -l
D: Failed to read cron tab
D: unmount_target_device()
D: clean_logs()
D: rm -rf '/tmp/GHwWpU62'

Offline

#7 2022-04-21 13:58:43

cluster
Member
Registered: 2020-10-11
Posts: 2

Re: timeshift is not creating info.json [SOLVED]

same here, the files are copied to the backup disk but afterwards nothing is shown in timeshift GUI
.json is not created after snapshot

Offline

#8 2022-04-21 16:54:23

difri84
Member
Registered: 2021-12-09
Posts: 78

Re: timeshift is not creating info.json [SOLVED]

i saw your solution on github! Great mate!

for everyone else downgrade rsync to 3.2.3-4

Offline

Board footer

Powered by FluxBB