Backuppc file name too long


















Did the Microsoft copy utility give me a list of the files and the directories they were in so I could find them and rename them??? It took 3 plus hours to 'attempt'. Did the Microsoft copy utility give me a list of the files and their directory path, so I could find them and rename them??? Angel Marres Egoavil. This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread. I have the same question Report abuse. Details required :. Cancel Submit. Previous Next.

When you see this message does it give you the option to skip? How satisfied are you with this reply? In versions prior to 3. Number of restore logs to keep. BackupPC remembers information about each restore request.

This number per client will be kept around before the oldest ones are pruned. Only the first restore option where the files and dirs are written to the host count as restores that are logged. Number of archive logs to keep. BackupPC remembers information about each archive request. This number per archive client will be kept around before the oldest ones are pruned.

List of directories or files to backup. If this is defined, only these directories or files will be backed up. This can be set to a string, an array of strings, or, in the case of multiple shares, a hash of strings or arrays.

A hash is used to give a list of directories or files to backup for each share the share name is the key. List of directories or files to exclude from the backup. A hash is used to give a list of directories or files to exclude for each share the share name is the key. The exact behavior is determined by the underlying transport program, smbclient or tar.

For smbclient the exclude file list is passed into the X option. Since all the tar paths start with ". FTP servers are traversed recursively so excluding directories will also exclude its contents. PCs that are always or often on the network can be backed up after hours, to reduce PC, network and server load during working hours. For each PC a count of consecutive good pings is maintained. To allow for periodic rebooting of a PC or other brief periods when a PC is not on the network, a number of consecutive bad pings is allowed before the good ping count is reset.

Note that bad and good pings don't occur with the same interval. On the other hand, if a ping is failed, it will be retried roughly every time BackupPC wakes up, eg, every one or two hours. A value of 0 will make all machines subject to blackout. One or more blackout periods can be specified. If a client is subject to blackout then no regular non-manual backups will be started during any of these periods.

This specifies one blackout period from am to pm local time on Mon-Fri, and a second period from 11pm to 5am on Friday and Saturday night. A backup of a share that has zero files is considered fatal.

This is used to catch miscellaneous Xfer errors that result in no files being backed up. If you have shares that might be empty and therefore an empty backup is valid you should set this flag to 0. What transport method to use to backup each host. Level of verbosity in Xfer log files.

Filename charset encoding on the client. BackupPC uses utf8 on the server for filename encoding. If this is empty, then utf8 is assumed and client filenames will not be modified. If you are using smbclient on a WinXX machine, smbclient will convert to the "unix charset" setting in smb. If you are using rsync on a WinXX machine then it does no conversion.

On a linux or unix client, run "locale charmap" to see the client's charset. Do "perldoc Encode::Supported" to see the list of possible charset values. Prior to 3. Backups were stored in whatever charset the XferMethod provided - typically utf8 for smbclient and the client's locale settings for rsync and tar eg: cp for rsync on WinXX and perhaps iso with rsync on linux.

Optionally map the share name to a different path on the client when the xfer program is run. This can be used if you create a snapshot on the client, which has a different path to the real share name. Or you could use simpler names for the share instead of a path eg: root, home, usr and map them to the real paths here.

If you are using the rsyncd xfer method, then there is no need to use this configuration setting since rsyncd already supports mapping of share names to paths in the client's rsyncd.

Name of the host share that is backed up when using SMB. This can be a string or an array of strings if there are multiple shares per host. Smbclient share password. There are several ways you can tell BackupPC the smb share password.

In each case you should be very careful about security. If you put the password here, make sure that this file is not readable by regular users! See the "Setting up config. Full path for smbclient. Command to run smbclient for a full dump. Command to run smbclient for an incremental dump.

Command to run smbclient for a restore. If your smb share is read-only then direct restores will fail. Which host directories to backup when using tar transport. This can be a string or an array of strings if there are multiple directories to backup per host. The fact this parameter is called 'TarShareName' is for historical consistency with the Smb transport options.

You can use any valid directory on the client: there is no need for it to correspond to any Smb share or device mount point. Command to run tar on the client.

GNU tar is required. You will need to fill in the correct paths for ssh2 on the local host server and GNU tar on the client.

Security caution: normal users should not allowed to write to these executable files or directories. If you plan to use NFS then tar just runs locally and ssh2 is not needed. In the case of NFS or rsh you need to make sure BackupPC's privileges are sufficient to read all the files you want to backup.

This is necessary for the command part of ssh or rsh, since it ends up getting passed through the shell. Extra tar arguments for full backups. Several variables are substituted at run-time. Extra tar arguments for incr backups. Full command to run tar for restore on the client. Full path for tar on the client. Path to rsync executable on the client. You can also add sudo, for example:. For OSX laptop clients, you can use caffeinate to make sure the laptop stays awake during the backup, eg:.

Ssh arguments for rsync to run ssh to connect to the client. The setting should only have two entries: "-e" and everything else; don't add additional array elements.

Share name to backup. This can also be a list of multiple file system paths or modules. In this case you would list all of the mount points:. The username and password are stored on the client in whatever file the "secrets file" parameter in rsyncd. Arguments to rsync for backup. Do not edit the first set unless you have a good understanding of rsync options.

Additional arguments added to RsyncArgs. The --checksum argument causes the client to send full-file checksum for every file meaning the client reads every file and computes the checksum, which is sent with the file list. Any file that has different attributes will be updating using the block rsync algorithm.

In V3, full backups applied the block rsync algorithm to every file, which is a lot slower but a bit more conservative. To get that behavior, replace --checksum with --ignore-times. Arguments to rsync for restore.

Do not edit the first set unless you have a thorough understanding of how File::RsyncP works. Which host directories to backup when using FTP. This value must be specified in one of two ways: either as a subdirectory of the 'share root' on the server, or as the absolute path of the directory.

Path resolution is not supported; i. Whether passive mode is used. The correct setting depends upon whether local or remote ports are accessible from the other machine, which is affected by any firewall or routers between the FTP server on the client and the BackupPC server.

Transfer block size. This sets the size of the amounts of data in each frame. While undefined, this value takes the default value. Symlinks cannot be restored via FTP, so the desired behaviour will be different depending on the setup of the share.

The default for this behavior is 1. Directory shares with more complicated directory structures should consider other protocols. The amount of Parity data to generate, as a percentage of the archive size. Only for file archives. This is the command that is called to actually run the archive process for each host. Full path for ssh. Full path for nmblookup. NmbLookup command. Given an IP address, does an nmblookup on that IP address.

Given a netbios name, finds that host by doing a NetBios lookup. Several variables are substituted at run-time:. In some cases you might need to change the broadcast address, for example if nmblookup uses An error is generated if they do not match. Typically this flag is off. But if you are going to transition a bunch of machines from fixed host addresses to DHCP, setting this flag is a great way to verify that the machines have their netbios name set correctly before turning on DHCP.

Full path to the ping command. Security caution: normal users should not be allowed to write to this file or directory. Like PingPath, but for IPv6.

In modern environments, the regular ping command can handle both IPv4 and IPv6. If you want to disable ping checking for IPv6 hosts, set this to some program that exits with 0 status, eg:. Wade Brown reports that on solaris 2. Maximum round-trip ping time in milliseconds. This threshold is set to avoid backing up PCs that are remotely connected through WAN or dialup connections. The output from ping -s assuming it is supported on your system is used to check the round-trip packet time.

On your local LAN round-trip times should be much less than 20msec. On most WAN or dialup connections the round-trip time will be typically more than 20msec.

Tune if necessary. Compression level to use on files. Changing compression on or off after backups have already been done will require both compressed and uncompressed pool files to be stored. This will increase the pool storage requirements, at least until all the old backups expire and are deleted. It is ok to change the compression value from one non-zero value to another non-zero value after dumps are already done. Since BackupPC matches pool files by comparing the uncompressed versions, it will still correctly match new incoming files against existing pool files.

The new compression level will take effect only for new files that are newly compressed and added to the pool. This avoids having the pool grow to accommodate both compressed and uncompressed backups.

See the documentation for more information. Timeout in seconds when listening for the transport program's smbclient, tar etc stdout. If no output is received during this time, then it is assumed that something has wedged during a backup, and the backup is terminated.

These files are aged monthly. Except this month's LOG, these files will have a. Optional commands to run before and after dumps and restores, and also before and after each share of a dump. Stdout from these commands will be written to the Xfer or Restore log file. One example of using these commands would be to shut down and restart a database server, dump a database to files for backup, or doing a snapshot of a share prior to a backup.

To maintain backward compatibility where the exit status in early versions was always ignored , this flag defaults to 0.

An example of a DumpPreUserCmd that might fail is a script that snapshots or dumps a database which fails because of some database error. Override the client's hostname. This allows multiple clients to all refer to the same physical host. The setting can be a hostname or IP address, eg:. It can also be an array, to allow checking in order of several host names or IP addresses that refer to the same host.

For example, if your client has a wired and wireless connection you could set:. If not, the next name hostname-wifi is tested. A user-settable comment string that is displayed in this host's status. The value is otherwise ignored by BackupPC. Full path to the sendmail command. Minimum period between consecutive emails to a single user. This tries to keep annoying email to users to a reasonable level. Email checks are done nightly, so this number is effectively rounded up ie: 2.

Name to use as the "from" name for email. Depending upon your mail handler this is either a plain name eg: "admin" or a fully-qualified name eg: "admin mydomain. Destination address to an administrative user who will receive a nightly email with warnings and errors. If there are no warnings or errors then no email will be sent. Destination domain name for email sent to users. By default this is empty, meaning email is sent to plain, unqualified addresses.

Otherwise, set it to the destination domain, eg:. These values are language-dependent. If you need to change the message, copy it here and edit it, eg:. How old the most recent backup has to be before notifying user. When there have been no backups in this number of days the user is sent an email. Normal users can only access information specific to their host.

If you don't want a list of groups or users set the corresponding configuration setting to undef or an empty string. If you want every user to have admin privileges careful!

A negative value disables the SCGI server. Set to any available unprivileged TCP port number, eg: Here are some typical settings you'll need in Apache's httpd. If you don't understand what that means, or can't confirm you have configured SCGI securely, then don't enable it!! Used for links in email messages. Full path to the rrdtool command. If available, graphs of pool usage will be generated.

If empty, then the graphs will be skipped. Language to use. Currently the Language setting applies to the CGI interface and email messages sent to users. Log files and other text are still in English.

User names that are rendered by the CGI interface can be turned into links into their home page or other information about the user. The default is a mailto: link. Set this to undef or an empty string to turn off this check. Set this to undef or an empty string to turn off generation of URLs for usernames. Date display format for CGI interface.

If set, the complete list of hosts appears in the left navigation bar pull-down for administrators. Otherwise, just the hosts for which the user is listed in the host file as either the user or in moreUsers are displayed. Additional navigation bar links. These appear for both regular users and administrators.

This is a list of hashes giving the link URL and the text name for the link. Directory where images are stored. This directory should be below Apache's DocumentRoot. This value isn't used by BackupPC but is used by configure. Additional mappings of filename extensions to Content-Type for individual file restore.

You can add additional settings here, or override any default settings. The CGI script uses this value to serve up image files. Whether the user is allowed to delete backups. If set to a positive value, the user will have a delete button for each backup on any host they have permission to access.

If set to 0, only administrators have access to the backup delete feature. If set to a negative value, even admins will not be able to use the delete feature. Which per-host config variables a non-admin user is allowed to edit. Admin users can edit all per-host config variables, even if disabled in this list.

That's because a user could set a Cmd to a shell script of their choice and it will be run as the BackupPC user. That script could do all sorts of bad things. BackupPC uses a X. Z version numbering system. The first digit is for major new releases, the middle digit is for significant feature releases and improvements most of the releases have been in this category.

Ryan Kucera contributed the directory navigation code and images for v1. Xavier Nicollet, with additions from Guillaume Filion, added the internationalization i18n support to the CGI interface for v2. Xavier provided the French translation fr. Guillaume continues to support fr. Manfred Herrmann provided the German translation, de. Manfred continues to support de. Lorenzo Cappelletti provided the Italian translation, it. Giuseppe Iuculano and Vittorio Macchi updated it for 3.

Lieven Bridts provided the Dutch translation, nl. Jono Woodhouse from CapeSoft Software www. Sean Cameron also from CapeSoft designed new and more compact file icons for 3. Alexander Moisseev provided the rrdtool graphing code in 4. Many people have provided user support on the mail lists, reported bugs, made useful suggestions, and helped with testing; see the ChangeLog and the mailing lists.

How much disk space do I need? BackupPC 4. Here's a short summary of what has changed in V4: No use of hardlinks except temporarily to do atomic renames. Any backup can be deleted deltas are merged into next older backup if it is not filled. Here is a more detailed discussion: Completely new backup storage. When a backup starts, there are several different cases that determine how the backups are stored and whether prior deltas are stored: No existing backups: create a new backup 0 and do a full backup in place ie: no prior deltas are stored.

V4 pool files are never moved or renamed. On a clean new V4 install, the steps of computing and checking V3 digests is eliminated. Hopefully downgrading isn't necessary Potential V4 optimizations that are planned, but not yet implemented, include: rsync-bpc doesn't support checksum caching. Backup basics Full Backup A full backup is a complete backup of a share.

Incremental Backup An incremental backup is a backup of files that have changed since the last successful backup. Partial Backup When a full or incremental backup fails or is canceled, the most recent backup is labeled "partial".

Identical Files BackupPC pools identical files. Backup Policy Based on your site's requirements you need to decide what your backup policy is. Mailing lists Three BackupPC mailing lists exist for announcements backuppc-announce , developers backuppc-devel , and a general user list for support, asking questions or any other topic relevant to BackupPC backuppc-users.

To post a message to the backuppc-users list, send an email to backuppc-users lists. Comments and suggestions are welcome. You can help BackupPC is free. Installing BackupPC Requirements BackupPC requires: A linux, solaris, or unix based server with a substantial amount of free disk space see the next section for what that means. For BackupPC to use Rsync you will also need to install rsync-bpc on the server. What type of storage space do I need?

On Debian, BackupPC can be installed with the command: apt-get install backuppc You should also install rsync-bpc; the BackupPC package might include it already, but if not: apt-get install rsync-bpc If those commands work, you can skip to Step 3.

To build and install these packages you should use the cpan command. PL make make test make install The same sequence of commands can be used for each module. It has self-contained documentation for all the command-line options, which you can read with perldoc: perldoc configure. Step 3: Setting up config. BackupPC reads this file in three cases: Upon startup. Each line in the hosts file contains three fields, separated by whitespace: Host name This is typically the hostname or NetBios name of the client machine and should be in lowercase.

Double-click on that. Double-click on it to edit the policy setting. Change it from Disabled to Enabled , then click the OK button to commit the change. The policy may not take effect right away. You can force the group policy to update , though.

Guy has been published online and in print newspapers, nominated for writing awards, and cited in scholarly papers due to his ability to speak tech to anyone, but still prefers analog watches. Read Guy's Full Bio. We hate spam too, unsubscribe at any time. Table of Contents.

Subscribe on YouTube! Did you enjoy this tip? We cover Windows, Mac, software and apps, and have a bunch of troubleshooting tips and how-to videos. Click the button below to subscribe! Subscribe to Help Desk Geek. Do not share my Personal Information. This means that every time you visit this website you will need to enable or disable cookies again. This site uses Google Analytics, Hubspot, Facebook pixels and Twitter pixels to collect anonymous information such as the number of visitors to the site and the most popular pages.

More information about our Cookie Policy. Choose zip as archive format. We are using cookies to give you the best experience on our website.



0コメント

  • 1000 / 1000