On Sun, 02 Mar 2014 17:11:19 -0800, Mike wrote:
> without ")" i have the same sintax error:
>
> [root@master ~]# python bkp_db.py
> Traceback (most recent call last):
> File "bkp_db.py", line 19, in
> tar = tarfile.open(dumpfile + '.tar.gz','w:gz')
> TypeError: unsupported operand type(s)
El domingo, 2 de marzo de 2014 21:38:49 UTC-3, Mike escribió:
> Hello,
>
> I have the script that make a backup file (this process is ok), but now i
> wish compress the file on tar file format. But i have problem syntax in the
> line of the tar function.
>
>
>
> The error is
>
>
>
> [ro
On Mar 2, 2014 7:41 PM, "Joel Goldstick" wrote:
>
>
> On Mar 2, 2014 7:40 PM, "Mike" wrote:
> >
> > Hello,
> > I have the script that make a backup file (this process is ok), but now
i wish compress the file on tar file format. But i have problem syntax in
the line of the tar function.
> >
> > Th
On Mar 2, 2014 7:40 PM, "Mike" wrote:
>
> Hello,
> I have the script that make a backup file (this process is ok), but now i
wish compress the file on tar file format. But i have problem syntax in the
line of the tar function.
>
> The error is
>
> [root@master ~]# python bkp_db.py
> File "bkp_db
Hello,
I have the script that make a backup file (this process is ok), but now i wish
compress the file on tar file format. But i have problem syntax in the line of
the tar function.
The error is
[root@master ~]# python bkp_db.py
File "bkp_db.py", line 19
tar = tarfile.open(dumpfile)+'