In FreeNAS (11.x U5, if that matters), I have a cloud sync task to upload a folder to GCP cold storage (my photography backup). I set the cloud sync task to "sync", so if I delete something locally, it gets deleted in the cloud. The problem is that GCP storage has a 90 day minimum storage period for cold storage, or else they charge you early delete fees (cost of storage per GB x remaining period of days to get to 90). I'm trying to figure out a way to do make it so that I don't get charged the early delete fees, and so far I only have one solution, wondering if there are any others.
My solution: Schedule 2 cloud sync tasks:
First: Run daily, with a "COPY" option, so that it just constantly uploads stuff to cold storage.
Second: Run every 90 days ( 0 0 1 */3 *) that does a "SYNC". This would then prune out anything old, although if anything changed <90 days, it would still accumulate the early delete costs.
Is there a better way of doing this? It may be cheaper to do nearline storage, which has a 30 day minimum period, but I'd still have the same issue there. Another option is instead of doing a daily upload, I do a weekly or monthly upload, since my images don't change that often (I take photos maybe once every 2-3 weeks), but then I'd need a local backup or secondary option just in case.
My solution: Schedule 2 cloud sync tasks:
First: Run daily, with a "COPY" option, so that it just constantly uploads stuff to cold storage.
Second: Run every 90 days ( 0 0 1 */3 *) that does a "SYNC". This would then prune out anything old, although if anything changed <90 days, it would still accumulate the early delete costs.
Is there a better way of doing this? It may be cheaper to do nearline storage, which has a 30 day minimum period, but I'd still have the same issue there. Another option is instead of doing a daily upload, I do a weekly or monthly upload, since my images don't change that often (I take photos maybe once every 2-3 weeks), but then I'd need a local backup or secondary option just in case.