Hi,
I currently have multiple TBs of photos being backed up on a NAS. I'm looking to create an off-prem backup too (possibly in cloud) but want to save some coin and only backup the RAWs of images that I have given a 4-5 star rating to in Lightroom.
Does anyone have any advice on if there is already a free/cheap solution for doing this or have any advice on writing a script to identify the images with a high rating? I know that I can export all images with a specific rating to a folder and have the folder backed up, but I was hoping to avoid having to manually export each time.
Thanks
Free? no, if you value your data pay for it.
Either backup all of it:
https://www.backblaze.com/cloud-backup.html
Or here is my a bit more complicated solution:
Export the metadata from Lightroom:
a. Open Lightroom and apply a filter to show only 4-5 star rated images.
b. Select all the filtered images.
c. Use a Lightroom plugin like "Listview" or "Jeffrey's Metadata Viewer" to export the metadata of the selected images as a CSV file.
Install Python and the required packages:
pip install pandas borgbackup
lightroom_borgbackup.py
and paste the following code:https://pastebin.com/hK8KkuWA
“`
import os
import sys
import pandas as pd
from subprocess import call
def main():
if len(sys.argv) != 4:
print("Usage: python lightroom_borgbackup.py <csv_file> <repo_path> <backup_name>")
return
if name == "main":
main()
“`
python lightroom_borgbackup.py path/to/your_metadata.csv path/to/your_borg_repo my_backup_name
This script will create a Borg backup containing only the RAW files of images you've given a 4-5 star rating to in Lightroom.
https://www.rsync.net/products/borg.html
https://www.borgbackup.org/
The major issue with your question is I think all the ratings are in some lightroom db rather than per file. Reading them is the hardest part.
I don't have lightroom to test for you.