Author Topic: LinkStation 220 File Retention  (Read 1605 times)

jostry

  • Calf
  • *
  • Posts: 2
LinkStation 220 File Retention
« on: September 18, 2018, 11:33:46 AM »
Is there any way to setup some sort of File Retention with the LinkStation 220? I will be using the drive to store audio recordings but only want 120 days of recording. Is there a way to setup the drives to delete files that are older than 120 days?

Thank you,
Jake

Texturtle

  • Administrator
  • *****
  • Posts: 893
  • RAID is NOT a substitute for a good backup
Re: LinkStation 220 File Retention
« Reply #1 on: September 18, 2018, 11:40:04 AM »
The LinkStation doesn't have this ability, it just functions as storage.

jostry

  • Calf
  • *
  • Posts: 2
Re: LinkStation 220 File Retention
« Reply #2 on: September 18, 2018, 11:49:20 AM »
Do you know if any of the Buffalo Storage drives have a File Retention feature?

Thank you,
Jake

Texturtle

  • Administrator
  • *****
  • Posts: 893
  • RAID is NOT a substitute for a good backup
Re: LinkStation 220 File Retention
« Reply #3 on: September 18, 2018, 11:56:42 AM »
They do not, it's expected that whatever software is using the share will handle file retention.

oxygen8

  • The Oxy-genuine article
  • El Toro
  • ****
  • Posts: 417
  • Giving you some breathing space.
Re: LinkStation 220 File Retention
« Reply #4 on: September 18, 2018, 01:24:53 PM »
use ssh and cron

example for LS520D (/usr/bin/find)

Code: [Select]
0 4 * * * /usr/bin/find /XXX -iname "*" -mtime +120 -delete

replace XXX with the folder path
 
« Last Edit: September 18, 2018, 01:36:52 PM by oxygen8 »