Saving to local drive and uploading to ftp server
  • If I save to local storage I can specify the number of days to keep. Does this setting also relate to the number of days kept on the remote ftp server or do i need to manage the archiving of these files myself ?
  • Hi Dave, this setting is for local storage only - it's not possible for SecuritySpy to manage the storage on a remote FTP server in this way.

    If you need this, the easiest option is to use Amazon S3 as your cloud storage, as it has its own options to automatically remove old files.
  • I did look at that but it looked rather scary on the cost front.

    Thanks

    Dave
  • If you feel brave and fancy a DIY option, you can create your own S3 storage using Minio:

    https://min.io

    I have this running as a Docker container and expose the storage via a reverse proxy.

    example docker-compose details:

    s3:
    image: minio/minio:latest
    hostname: minio
    container_name: minio
    restart: always
    ports:
    - "9007:9000"
    volumes:
    - /data/backups:/data
    - ${USERDIR}/docker/minio/config:/root/.minio
    command: server /data

    (a useful guide to set up a reverse proxy is here: https://www.smarthomebeginner.com/traefik-2-docker-tutorial/)

    You could then script the removal of files using:

    mc rm -r --force --older-than 1d2h30m myminio/mybucket

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!