Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Does Unraid ever touch ctime?

Featured Replies

I'm trying to create a script batch that will push files added/modified in the past 24 hours to an external hard drive.

 

The idea is to let these files accumulate, and then use the external to update my off-site backup server every few weeks.

 

When both my servers were Windows, I would use 'date accessed', but this field seems to be identical to 'date modified' on linux.

 

I don't fully understand -ctime, but it appears to do be the date/time the file hit my server. This is exactly what I want.

 

Does Unraid every update/use this field? I don't want to wake up one morning to find Unraid spewing 100TB to my 4TB ext HDD.

 

So far, my script batch is looking like this:

 

rsync -avh --no-links --backup --backup-dir=/mnt/user/backup/~TRASH~/ --files-from=<(find /mnt/user -name BD-Rips -prune -o -name appdata -prune -o -name apps_linux -prune -o -name backup -prune -o -name domains -prune -o -name Downloads -prune -o -name Downloads_TEMP -prune -o -name system -prune -o -ctime -2 -type f) / /mnt/user/backup/Nightly/ 

 

Is there a more elegant way to list those exclusions? To combine them into a single '-prune' command?

 

I found some instructions online, but it wasn't very clear. I'm very new to all this Linux stuff.

 

Edited by nmkaufman

Solved by nmkaufman

  • 2 weeks later...
  • Author
  • Solution

If anyone finds this thread in the future, Unraid does occasionally touch ctime. It's not useful as an incremental backup trigger.

 

I instead switched to using -mtime, and configured my software to touch the modified time when extracting archives.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.