Working directories

Specify where backup jobs should be processed on remote hosts and the localhost

ElectricSheep.IO uses specific directories to manipulate files and directories both on remote hosts and on the localhost. In both cases, it defaults to the ~/.electric_sheep directory and automatically creates subdirectories to handle each job separately.

For remote hosts, it's a subdirectory of the home directory of the user which is used to open the SSH connection.

To override the local working directory, use the top-level working_directory instruction in your Sheepfile. For remote hosts, the working directory is defined specifically for each host:

working_directory "/var/backups"

host "db", hostname: "db.example.com", working_directory: "/tmp/backups"