On Wed, Dec 20, 2017 at 2:33 AM, Ankur Kaushik <ankurkaushik(at)gmail(dot)com>
wrote:
>
> Facing problem in taking pg_basebackup .
>
> File Reaches till 2 GB then failes and give below error
>
> pg_basebackup: could not write to compressed file "/backup//base.tar.gz":
> File too large
>
> Command :
>
> pg_basebackup -h127.0.0.1 -U base_backup_user -D /backup/inc_backup -Ft -z
> -P
>
Are you writing the backup to a FAT32 file system? Those have a max
individual file size limit of about 2GB.
Keith