{"repo":"raniellyferreira/rotate-files","free":true,"listed":false,"github":"https://github.com/raniellyferreira/rotate-files","clone":"git clone https://github.com/raniellyferreira/rotate-files.git","description":"Rotate files locally, in S3 (api-compatible), Google Storage or Azure Blob Storage based on custom backup rotation scheme","language":"Go","stars":12,"topics":["backup","cli","golang","s3","database","devops","files","rotate","storage","rotate-files"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Rotate Files Description Rotate Files is a project that allows you to rotate files locally or in a compatible third-party storage with S3 API, such as Amazon S3, MinIO, DigitalOcean Spaces, Wasabi, Backblaze B2, Azure Blob Storage, and Google Cloud Storage, based on a custom backup rotation scheme. Requirements To run this project, you need to have the following installed: - bash - curl - openssl Installation To install Rotate Files, run the following command in the terminal: Configuration You can configure Rotate Files using the following options: - -d, --daily : number of daily files to preserve (default: 7) - -D, --dry-run : simulate deletion process (default: false) - -h, --help : displays usage information of the application or a command - -h, --hourly : number of hourly files to preserve (default: 24) - -m, --monthly : number of monthly files to preserve (default: 12) - -v, --version : displays version number - -w, --weekly : number of weekly files to preserve (default: 14) - -y, --yearly : number of yearly files to preserve, set to 0 for no preservation (default is -1 for preserve always) Environment Vars Amazon S3 - AWS ACCESS KEY ID : The access key ID for your AWS account. - AWS SECRET ACCESS KEY : The secret access key for your AWS account. - AWS REGION : The AWS region where your S3 bucket is located. - AWS ENDPOINT OVERRIDE : The endpoint override for your third-party storage with S3 API based. Supported third-party storage providers: - CloudFlare R2 - MinIO - Di","default_branch":null,"files":null,"tree":[],"storefront":"/r/raniellyferreira","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/raniellyferreira/rotate-files/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}