cannot get backup program to work
<p>I found this snippet for a backup script in A Byte of Python:</p>

<pre><code>import os
import time

source = ['C:\\Users\\Desktop\\Stuff']

target_dir = 'C:\\Users\\Backup\\'

target = target_dir + time.strftime('%Y%m%d%H%M%S') + '.zip'

zip_command = 'zip -qr "%s"' % (target)

if os.system(zip_command) == 0:
    print 'Successful backup to', target
else:
    print 'Backup failed!'
</code></pre>

<p>When I run it I get a 'Backup failed!' but I don't know why. I suspect it has something to do with the definition of <code>zip_command</code> but I'm not sure. The tutorial can be found here: <a href="http://www.ibiblio.org/swaroopch/byteofpython/read/the-solution.html" rel="nofollow">http://www.ibiblio.org/swaroopch/byteofpython/read/the-solution.html</a></p>

<p>Please help.</p>
