Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@typomedia
Last active December 31, 2015 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save typomedia/8052129 to your computer and use it in GitHub Desktop.
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
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