Commit b9d079db authored by owsla's avatar owsla

Update FAQ


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@1010 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 40cc8035
...@@ -28,6 +28,7 @@ how much is required? What is the problem if rdiff-backup says ...@@ -28,6 +28,7 @@ how much is required? What is the problem if rdiff-backup says
<li><a href="#touple">What does "<code>touple index out of range</code>" mean?</a></li> <li><a href="#touple">What does "<code>touple index out of range</code>" mean?</a></li>
<li><a href="#crc">What does "<code>IO Error: CRC check failed</code>" mean?</a></li> <li><a href="#crc">What does "<code>IO Error: CRC check failed</code>" mean?</a></li>
<li><a href="#badindex">What does "<code>AssertionError: Bad index order</code>" mean?</a></li> <li><a href="#badindex">What does "<code>AssertionError: Bad index order</code>" mean?</a></li>
<li><a href="#utc">How can rdiff-backup use UTC as the timzeone?</a></li>
</ol> </ol>
<h3><a name="ToC4">Questions and Answers</a></h3> <h3><a name="ToC4">Questions and Answers</a></h3>
<ol> <ol>
...@@ -112,9 +113,12 @@ a full explanation of why this happens see this post to the mailing list: ...@@ -112,9 +113,12 @@ a full explanation of why this happens see this post to the mailing list:
<li><strong><a name="cifs">Can I backup files to a CIFS or smbfs mount?</a></strong> <li><strong><a name="cifs">Can I backup files to a CIFS or smbfs mount?</a></strong>
<p>You can certainly try! Using a CIFS or smbfs mount as the mirror directory has been troublesome for <p>You can certainly try! Using a CIFS or smbfs mount as the mirror directory has been troublesome for
some users because of the wide variety of Samba configurations. If possible, the best solution is always some users because of the wide variety of Samba configurations. If possible, the best solution is always
to use rdiff-backup over SSH in the default configuration. Under both Linux and Mac OS X, smbfs seems to to use rdiff-backup over SSH in the default configuration. Using rdiff-backup in the default configuration
be working quite well. However, it has a 2 GB file limit and is deprecated on Linux. CIFS users sometimes is also guaranteed to be faster because there is lower network utilization. Rdiff-backup uses
experience one of these common errors:</p> the rsync algorithm to minimize the amount of bandwidth consumed. By using smbfs or CIFS, the complete file
is transferred over the network.</p>
<p>Under both Linux and Mac OS X, smbfs seems to be working quite well. However, it has a 2 GB file limit and is
deprecated on Linux. CIFS users sometimes experience one of these common errors:</p>
<ul> <ul>
<li>rdiff-backup fails to run, printing an exception about "<code>assert not upper_a.lstat()</code>" failing. <li>rdiff-backup fails to run, printing an exception about "<code>assert not upper_a.lstat()</code>" failing.
This can be resolved by unmounting the share, running the following command as root:<br> This can be resolved by unmounting the share, running the following command as root:<br>
...@@ -428,4 +432,13 @@ list.</p> ...@@ -428,4 +432,13 @@ list.</p>
</li> </li>
<li><strong><a name="utc">How can rdiff-backup use UTC as the timezone?</a></strong>
<p>Like other Unix and Python programs, rdiff-backup respects the <code>TZ</code> environment variable, which can
be used to temporarily change the timezone. On Unix, simply set <code>TZ=UTC</code> either in your shell, or on the
command line used to run rdiff-backup. On Windows, the command <code>USE TZ=UTC</code> sets the <code>%TZ%</code>
environment variable, and can be used either in a batch script, or at the DOS prompt.</p>
</li>
</ol> </ol>
...@@ -247,7 +247,9 @@ def test_connection(conn_number): ...@@ -247,7 +247,9 @@ def test_connection(conn_number):
conn = Globals.connections[conn_number] conn = Globals.connections[conn_number]
try: try:
assert conn.Globals.get('current_time') is None assert conn.Globals.get('current_time') is None
assert type(conn.os.getuid()) is int assert type(conn.os.name) is str
if (conn.os.name != 'nt'):
assert type(conn.os.getuid()) is int
version = conn.Globals.get('version') version = conn.Globals.get('version')
except: except:
sys.stderr.write("Server tests failed\n") sys.stderr.write("Server tests failed\n")
......
...@@ -28,6 +28,7 @@ how much is required? What is the problem if rdiff-backup says ...@@ -28,6 +28,7 @@ how much is required? What is the problem if rdiff-backup says
<li><a href="#touple">What does "<code>touple index out of range</code>" mean?</a></li> <li><a href="#touple">What does "<code>touple index out of range</code>" mean?</a></li>
<li><a href="#crc">What does "<code>IO Error: CRC check failed</code>" mean?</a></li> <li><a href="#crc">What does "<code>IO Error: CRC check failed</code>" mean?</a></li>
<li><a href="#badindex">What does "<code>AssertionError: Bad index order</code>" mean?</a></li> <li><a href="#badindex">What does "<code>AssertionError: Bad index order</code>" mean?</a></li>
<li><a href="#utc">How can rdiff-backup use UTC as the timzeone?</a></li>
</ol> </ol>
<h3><a name="ToC4">Questions and Answers</a></h3> <h3><a name="ToC4">Questions and Answers</a></h3>
<ol> <ol>
...@@ -112,9 +113,12 @@ a full explanation of why this happens see this post to the mailing list: ...@@ -112,9 +113,12 @@ a full explanation of why this happens see this post to the mailing list:
<li><strong><a name="cifs">Can I backup files to a CIFS or smbfs mount?</a></strong> <li><strong><a name="cifs">Can I backup files to a CIFS or smbfs mount?</a></strong>
<p>You can certainly try! Using a CIFS or smbfs mount as the mirror directory has been troublesome for <p>You can certainly try! Using a CIFS or smbfs mount as the mirror directory has been troublesome for
some users because of the wide variety of Samba configurations. If possible, the best solution is always some users because of the wide variety of Samba configurations. If possible, the best solution is always
to use rdiff-backup over SSH in the default configuration. Under both Linux and Mac OS X, smbfs seems to to use rdiff-backup over SSH in the default configuration. Using rdiff-backup in the default configuration
be working quite well. However, it has a 2 GB file limit and is deprecated on Linux. CIFS users sometimes is also guaranteed to be faster because there is lower network utilization. Rdiff-backup uses
experience one of these common errors:</p> the rsync algorithm to minimize the amount of bandwidth consumed. By using smbfs or CIFS, the complete file
is transferred over the network.</p>
<p>Under both Linux and Mac OS X, smbfs seems to be working quite well. However, it has a 2 GB file limit and is
deprecated on Linux. CIFS users sometimes experience one of these common errors:</p>
<ul> <ul>
<li>rdiff-backup fails to run, printing an exception about "<code>assert not upper_a.lstat()</code>" failing. <li>rdiff-backup fails to run, printing an exception about "<code>assert not upper_a.lstat()</code>" failing.
This can be resolved by unmounting the share, running the following command as root:<br> This can be resolved by unmounting the share, running the following command as root:<br>
...@@ -428,4 +432,13 @@ list.</p> ...@@ -428,4 +432,13 @@ list.</p>
</li> </li>
<li><strong><a name="utc">How can rdiff-backup use UTC as the timezone?</a></strong>
<p>Like other Unix and Python programs, rdiff-backup respects the <code>TZ</code> environment variable, which can
be used to temporarily change the timezone. On Unix, simply set <code>TZ=UTC</code> either in your shell, or on the
command line used to run rdiff-backup. On Windows, the command <code>USE TZ=UTC</code> sets the <code>%TZ%</code>
environment variable, and can be used either in a batch script, or at the DOS prompt.</p>
</li>
</ol> </ol>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment