Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
backup-to-cloud
Advanced tools
A simple backup tool which uploads encrypted files to S3, in batches.
Ideally, it should be setup to run in a crontab entry.
gpg
tar
archive of files in certain folders, useful for sources with thousands of files (e.g. photo library)awscli
1.8.6+ (for support of STANDARD_IA
storage class)find
gpg
tar
aws configure
yarn install --production
OR npm install --production
cp config.sample.js config.default.js
Modify your new config file
Check your config file: bin/backup-to-cloud --check-config
Try it out first with: bin/backup-to-cloud --dry
Set up a crontab entry for it, for example:
0 * * * * cd /path/to/this && ./bin/backup-to-cloud --verbose >> cron.log 2>&1
0 */12 * * * cd /path/to/this && ./bin/backup-to-cloud >> cron.log 2>&1
./bin/backup-to-cloud --help
./bin/backup-to-cloud --check-config
./bin/backup-to-cloud --dry
./bin/backup-to-cloud
Restore a file or folder and decrypt:
./bin/backup-restore --help
./bin/backup-restore --output OUTPUT_DIR_OR_FILE REMOTE_DIR_OR_FILE
Schedule a restore test:
0 1 * * * cd /path/to/this && ./bin/backup-restore --output TEMPORARY_DIR --test / >> restore-test.log 2>&1
Decrypt a downloaded encrypted file:
./bin/backup-decrypt --help
./bin/backup-decrypt --output OUTPUT_FILE INPUT_FILE
Verify that the DB and remote files are in sync:
./bin/backup-verify --help
./bin/backup-verify --dry
./bin/backup-verify
1.6.0
-> 2.0.0
The DB format has switched from JSON to SQLite. To upgrade existing DB, run:
./bin/backup-upgrade-db
FAQs
A simple backup tool which uploads encrypted files to S3
The npm package backup-to-cloud receives a total of 3 weekly downloads. As such, backup-to-cloud popularity was classified as not popular.
We found that backup-to-cloud demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.