• 2 Posts
  • 243 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle












  • I have gone from borgbackup to rdiff-backup to reduce complexity and dependencies. rdiff-backup’s incremental strategy needs more space than deduplication from borgbackup, but you don’t need fuse and borg itself to restore your latest backup.

    With rdiff-backup you can just use cp -a to restore all your files. Only if you need a file you deleted ages ago, you need it.

    I relied on borgbackup for a long time, never had an incident. But then I wanted to try the new replication borg2 feature and almost lost my original borg1 repo. With rdiff-backup you can just rsync the repo to another drive and have two copies of your offline offsite redundant backup. Encryption is a non-issue, you can run it on top of every other filesystem and LUKS or over SSH.

    Granted, I just switched to rdiff-backup, but I am loving the simplicity of it already.




  • Finally I found the time to write down, how I use Ghostscript:

    gs \
        -sDEVICE=pdfwrite \
        -o /output/gs_file.pdf \
        -dPDFSETTINGS=/prepress \
        -sProcessColorModel=DeviceCMYK \
        -sDefaultCMYKProfile=/path/to/ISOcoated_v2_eci.icc \
        -sColorConversionStrategy=CMYK \
        source/file.pdf \
        -f
    

    I don’t now which of ProcessColorModel or ColorConversionStrategy is the important one. I kept both and did not bother to try to omit one of them. -dPDFSETTINGS=/prepress makes sure that embedded bitmaps are in 300dpi and I think -f prevents Ghostscript staying in interactive mode after all pages have been finished.