Backuppc per host config file
Please specify an install directory for BackupPC. This is where the. BackupPC scripts, library and documentation will be installed. Please specify a data directory for BackupPC. This is where all the. PC backup data is stored. This file system needs to be big enough to. You need. This allows Apache to run as a different user as. A negative value disables SCGI. That means you can't allow untrusted users access to the. The traditional alternative is to use CGI. In this case, an executable needs.
This executable needs to run as. The URL for the image directory should start with a slash. Ok, we're about to:. DoInstall if! Now do the config file. If there is an existing config file we. Update various config parameters. The smbclient commands have moved from hard-coded to the config file. CSS is now stored in a file rather than a big config variable. The blackout timing settings are now stored in a list of hashes, rather.
Since 2. Figure out sensible arguments for the ping command. Figure out sensible arguments for the df command. Merge any new user-editable parameters into CgiUserConfigEdit. This is a real hack. The config file merging is done in text. So we need to extract the new hash of settings, update it,.
Apply any command-line configuration parameter settings. Now backup and write the config file. Make copy of config file, preserving ownership and modes. Get quotes from default config to avoid missing or extra quotes. Ok, it looks like we are finished. There are several more things you. In particular,. Please pay special attention to the security section. The backuppc-announce list is moderated and is used only for important announcements eg: new versions. It is low traffic. You only need to subscribe to one list: backuppc-users also receives any messages on backuppc-announce.
You are encouraged to subscribe to either the backuppc-announce or backuppc-users mail list on sourceforge. You can subscribe to the developer's email list by going to BackupPC-devel. You can send email to the BackupPC-users list at backuppc-users lists.
Please don't send support questions to the developer's list. One example of disk use: 95 latops with each full backup averaging 3. Storing three weekly full backups and six incremental backups per laptop is around GB of raw data, but because of pooling and compression only GB is needed. This configuration file can either edited on the command line, or through the GUI where documentation is linked in to the options.
When you log in to the web interface, you should see an Edit Config tab on the left-hand side. Until you read the documentation, pretty much leave alone all the defaults options or you'll find a non-working backup system pretty quickly.
While the main configuration file is what sets all the defaults, you can actually override these settings on a per-host basis. After you add a host to the web interface, any configurations you add to the host overrides the default. So for instance, what would be displayed in these files would be the directories or excluded directories that are to be backed up for the host that you set.
Unless you are backing up the identical directories on all hosts, you'll want to use the override feature to setup the directories after you create the host. This is done on the Xfer tab with the RsyncShareName. This allows you to use any kind of script to be specified, which is run before the actual rsync of directories.
For instance, if you have databases that need dumped and included in the backups, they are specified here. NOTE: A lot of people seem confused about parameters in these settings. You cannot treat the fields as command prompts or shells. Shell syntax is not passed here, so if you have multiple commands or scripts to run, put them in one script on the client side where they can be executed one after the other.
Last, the Schedule tab is where you setup how full and incremental backups happen. You can either set this up at the default level in Edit Config, or you can again override settings on a per-host basis.
The default setting is to keep only one full backup, and 6 incrementals. This gives you a week's worth of backup. The FullPeriod is set for 6. IncrPeriod is set to 0. The IncrKeepCnt is set to 6 which gives you 6 days of incrementals and the other day of a full backup. You can also setup BlackoutPeriods , or times you don't want backups to occur. Every setting in here is explained by the documentation, so read up. Add Client in Web Interface Next, add the client and all the configurations from within the web interface.
Click on the Edit Hosts tab and then the Add button. Fill in the host's name that you want to backup, and then under the User section, put backuppc as the user. This needs to be backuppc, because the backup is launched as this user. It won't work otherwise. When you're done, click the save button at the top. Click on the Host Summary link on the left, and you should see your new host. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta.
New post summary designs on greatest hits now, everywhere else eventually. Related 5.
0コメント