https://github.com/rhymeswithmogul/pstimemachine
A simple versioning backup tool written in PowerShell.
https://github.com/rhymeswithmogul/pstimemachine
backup backup-cli backup-files backup-script backup-solution backup-tool backup-utility backups delta hardlinking powershell powershell-adminscripts powershell-cmdlets powershell-core powershell-script pwsh time-machine timemachine
Last synced: 8 months ago
JSON representation
A simple versioning backup tool written in PowerShell.
- Host: GitHub
- URL: https://github.com/rhymeswithmogul/pstimemachine
- Owner: rhymeswithmogul
- License: gpl-3.0
- Created: 2019-04-10T02:25:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-26T01:49:00.000Z (over 5 years ago)
- Last Synced: 2025-02-01T20:11:27.321Z (8 months ago)
- Topics: backup, backup-cli, backup-files, backup-script, backup-solution, backup-tool, backup-utility, backups, delta, hardlinking, powershell, powershell-adminscripts, powershell-cmdlets, powershell-core, powershell-script, pwsh, time-machine, timemachine
- Language: PowerShell
- Size: 29.3 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PSTimeMachine
One day, I was so mad at a backup vendor *and* at Windows Server Backup, that I wrote my own simple backup tool in PowerShell.Apple's Time Machine and rsync were the inspirations for this:
* **Versioned:** Every time the tool runs, a new folder tree is created.
* **Secure:** Old backups are never added to nor modified by this tool.
* **Simple:** It creates entire, browseable folder trees at the destination that require no tools to restore from.
* **Efficient:** Only changed files are copied from the source to the destination; unchanged files are added with filesystem-level hard links.## Requirements
1. The system must be running PowerShell Core or at least Windows PowerShell 5.
2. Ideally, your backup destination should support hard links. If not, backups will use a *lot* of space.## How to Use It
Like this:.\PSTimeMachine.ps1 -SourcePath C:\Shares\SomeShare -DestinationPath D:\BackupsOfSomeShare
For help:
Get-Help .\PSTimeMachine.ps1
## Contributing
Please do!