Skip to content

Instantly share code, notes, and snippets.

@typomedia
Last active December 31, 2015 22:09
Show Gist options
  • Select an option

  • Save typomedia/8052129 to your computer and use it in GitHub Desktop.

Select an option

Save typomedia/8052129 to your computer and use it in GitHub Desktop.
Simple FTP Backup Batch
@ECHO OFF
ECHO Copyright 2013 Typomedia Foundation. All rights reserved.
ECHO Released under GPL version 3.
ECHO FTP Backup Batch 1.0
PAUSE
SET dest="//SERVER/Backup/Sites/%date%/"
REM Backup doamin.tld...
wget ftp://<user>:<password>@domain.tld -m -P %dest%
PAUSE
@typomedia

Copy link
Copy Markdown
Author

Attention: FTP is unencrypted! User and Password are transmitted as clear text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment